summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in.adk1
-rw-r--r--target/config/Config.in.runtime53
-rw-r--r--target/config/Config.in.tools6
3 files changed, 40 insertions, 20 deletions
diff --git a/target/config/Config.in.adk b/target/config/Config.in.adk
index 7544723bf..27b72941e 100644
--- a/target/config/Config.in.adk
+++ b/target/config/Config.in.adk
@@ -36,6 +36,7 @@ config ADK_DEBUG_STRIP
config ADK_STATIC
bool "Link applications statically by default"
default n
+ select BUSYBOX_STATIC
help
Useful for toolchain only target devices.
diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime
index cb0929822..721f623de 100644
--- a/target/config/Config.in.runtime
+++ b/target/config/Config.in.runtime
@@ -37,30 +37,55 @@ config ADK_RUNTIME_TIMEZONE
Predefine the timezone for the embedded system.
choice
-prompt "Console output on embedded system"
-default ADK_RUNTIME_CONSOLE_BOTH if ADK_TARGET_WITH_VGA || ADK_TARGET_QEMU_WITH_GRAPHIC && !ADK_TARGET_SYSTEM_RASPBERRY_PI && !ADK_TARGET_SYSTEM_LEMOTE_YEELONG
-default ADK_RUNTIME_CONSOLE_VGA if ADK_TARGET_SYSTEM_RASPBERRY_PI || ADK_TARGET_SYSTEM_LEMOTE_YEELONG
-default ADK_RUNTIME_CONSOLE_SERIAL
+prompt "Start getty or shell after bootup"
+default ADK_RUNTIME_GETTY
-config ADK_RUNTIME_CONSOLE_VGA
- bool "console output on VGA"
+config ADK_RUNTIME_GETTY
+ boolean "start a getty after bootup"
help
- Start getty on VGA console. (tty1-tty6)
+ Start a getty after bootup.
-config ADK_RUNTIME_CONSOLE_SERIAL
- bool "console output on serial"
+config ADK_RUNTIME_SHELL
+ boolean "start a shell after bootup"
help
- Start getty on serial console.
+ Start a shell after bootup
+
+endchoice
+
+config ADK_RUNTIME_GETTY_VGA
+ boolean "start getty on VGA console (tty1-tty6)"
+ depends on ADK_RUNTIME_GETTY
+ default y if ADK_TARGET_QEMU_WITH_GRAPHIC
+ default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
+ default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
+ default y if ADK_TARGET_SYSTEM_IBM_X40
+ default n
+ help
+ Start getty on VGA console. (tty1-tty6)
-config ADK_RUNTIME_CONSOLE_BOTH
- bool "console output on VGA and serial"
+config ADK_RUNTIME_GETTY_SERIAL
+ boolean "start getty on serial console"
+ depends on ADK_RUNTIME_GETTY
+ default n if ADK_TARGET_SYSTEM_RASPBERRY_PI
+ default n if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
+ default n if ADK_TARGET_SYSTEM_IBM_X40
+ default y
help
- Start getty on VGA console and serial device.
+ Start getty on serial console.
-endchoice
+config ADK_RUNTIME_CONSOLE_SERIAL_DEVICE
+ string
+ default "hvc0" if ADK_TARGET_SYSTEM_QEMU_PPC64
+ default "ttyUL0" if ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
+ default "ttyAMA0" if ADK_TARGET_QEMU_ARM_MODEL_VERSATILEPB || ADK_TARGET_QEMU_ARM_MODEL_VEXPRESS_A9
+ default "ttySC1" if ADK_TARGET_SYSTEM_QEMU_SH4 || ADK_TARGET_SYSTEM_QEMU_SH4EB
+ default "ttymxc0" if ADK_TARGET_SYSTEM_CUBOX_I
+ default "nfcon0" if ADK_TARGET_SYSTEM_ARANYM_M68K
+ default "ttyS0"
config ADK_RUNTIME_CONSOLE_SERIAL_SPEED
string
+ default "9600" if ADK_TARGET_SYSTEM_QEMU_PPC
default "9600" if ADK_TARGET_SYSTEM_FON_FON2100
default "38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
default "115200"
diff --git a/target/config/Config.in.tools b/target/config/Config.in.tools
index c2dee7e19..7e37f5ec1 100644
--- a/target/config/Config.in.tools
+++ b/target/config/Config.in.tools
@@ -42,9 +42,3 @@ config ADK_HOST_NEED_PCRE
boolean
default y if ADK_HOST_DARWIN
default n
-
-config ADK_TOOLS_ADDPATTERN_ARGS
- string
- default "-p W54G -v v4.20.6" if ADK_TARGET_BROADCOM_MODEL_LINKSYS_WRT54G
- default "-p W54S -v v4.70.6" if ADK_TARGET_BROADCOM_MODEL_LINKSYS_WRT54GS
- default ""