summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2018-08-16 21:49:48 +0200
committerGogs <gogs@fake.local>2018-08-16 21:49:48 +0200
commit71bd053dc6b5677d8de0fab9d2f7e512a09e7ad6 (patch)
tree83c060bb6e269ee4267c7e59dac4242faf8bfa69 /target
parent56d412cecdfb4c0be541db9ef4153f7616608d28 (diff)
parentdee2a0e2483bfda415c64f8e168763c63e71f7f6 (diff)
Merge branch 'gogs-master' of ableton-dir/openadk into master
Diffstat (limited to 'target')
-rw-r--r--target/Makefile6
-rw-r--r--target/config/Config.in.adk4
-rw-r--r--target/config/Config.in.runtime15
3 files changed, 25 insertions, 0 deletions
diff --git a/target/Makefile b/target/Makefile
index 846620d6c..128d272de 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -228,6 +228,12 @@ endif
$(MAKE) -C $(patsubst %-targethelp,%,$@) targethelp
%-imageinstall: %-imageprepare
+ifdef ADK_POST_BUILD_ACTION
+ifneq ($(ADK_POST_BUILD_ACTION),"")
+ @printf "running post build action '$(ADK_POST_BUILD_ACTION)'\n"
+ $(ADK_TOPDIR)/$(ADK_POST_BUILD_ACTION) $(ADK_TOPDIR)
+endif
+endif
$(MAKE) -C $(patsubst %-imageinstall,%,$@) imageinstall
@for x in $$(ls $(ADK_TOPDIR)/scripts/postimage/*.sh 2>/dev/null); do \
[[ -x "$$x" ]] && $$x; \
diff --git a/target/config/Config.in.adk b/target/config/Config.in.adk
index b414b70fd..060ee78e4 100644
--- a/target/config/Config.in.adk
+++ b/target/config/Config.in.adk
@@ -112,4 +112,8 @@ config ADK_TARGET_PORT
help
Port to use for SSH when running make check.
+config ADK_POST_BUILD_ACTION
+ string "Path to script run post build. Must be relative to ADK_TOPDIR."
+ default ""
+
endmenu
diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime
index 6d5a460ab..9c9b9cd49 100644
--- a/target/config/Config.in.runtime
+++ b/target/config/Config.in.runtime
@@ -64,6 +64,10 @@ config ADK_RUNTIME_DEV_MDEV
depends on ADK_PACKAGE_BUSYBOX
depends on !ADK_RUNTIME_INIT_SYSTEMD
+config ADK_RUNTIME_DEV_MDEV_LOGGING
+ bool "Log mdev events into /dev/mdev.log"
+ depends on ADK_RUNTIME_DEV_MDEV
+
config ADK_RUNTIME_DEV_UDEV
bool "Use udev"
select ADK_PACKAGE_UDEV
@@ -184,6 +188,12 @@ config ADK_RUNTIME_USER_SHELL
help
Set the shell to use.
+config ADK_RUNTIME_MOUNT_DEBUGFS
+ bool "mount debugfs"
+ depends on !ADK_RUNTIME_INIT_SYSTEMD
+ help
+ mount debugfs under /sys/kernel/debug
+
config ADK_RUNTIME_START_SERVICES
bool "start services by default"
default n
@@ -363,6 +373,11 @@ config ADK_RUNTIME_GETTY_SERIAL
help
Start getty on serial console.
+config ADK_RUNTIME_GETTY_SERIAL_AUTOLOGIN
+ bool "run autologin on serial getty"
+ depends on ADK_RUNTIME_GETTY_SERIAL
+ select ADK_PACKAGE_AUTOLOGIN
+
config ADK_RUNTIME_CONSOLE_VGA_DEVICE
string "VGA console device"
depends on ADK_TARGET_WITH_VGA || ADK_TARGET_GENERIC