summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-09-04 17:32:47 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-09-04 17:32:47 +0200
commitf3431e3a6f89b384517885e7805c8706b2c6ae5d (patch)
treeb15604c33c8666cbf6105187c1db2e8018808182 /package/base-files
parent64d1148c48e3cd428da42a5eb9bcda50f08171fb (diff)
add support for Qemu Versatile with network emulation
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 28fb34348..4cc7e970a 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -64,6 +64,9 @@ endif
cat ./files/inittab.serial >> $(IDIR_BASE_FILES)/etc/inittab
test -z $(ADK_RUNTIME_CONSOLE_BOTH) || \
cat ./files/inittab.vga >> $(IDIR_BASE_FILES)/etc/inittab
+ifeq ($(ADK_TARGET_QEMU_ARM_MODEL_VERSATILE),y)
+ $(SED) 's#ttyS#ttyAMA#g' $(IDIR_BASE_FILES)/etc/inittab
+endif
$(SED) 's#@SPEED@#$(ADK_RUNTIME_CONSOLE_SERIAL_SPEED)#' $(IDIR_BASE_FILES)/etc/inittab
test -z $(ADK_RUNTIME_HOSTNAME) || \
echo $(ADK_RUNTIME_HOSTNAME) > $(IDIR_BASE_FILES)/etc/hostname; \