summaryrefslogtreecommitdiff
path: root/target/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-03-13 23:09:40 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-03-13 23:09:40 +0100
commit9fb48ff07161975ac0f8185f5b226ca69e4fb70a (patch)
treedc755f104b37d6f8618a4c58b8b1aab54c531f00 /target/Makefile
parent5053380fd000560dd61fae23e49239afd05a6483 (diff)
add stub for config-prepare if mini.config is not choosen
Diffstat (limited to 'target/Makefile')
-rw-r--r--target/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/Makefile b/target/Makefile
index cf95ce4dd..ae29b2a10 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -31,6 +31,7 @@ ADK_PACKAGE_CRYPTINIT_ROOT:=$(strip $(subst ",, $(ADK_PACKAGE_CRYPTINIT_ROOT)))
ADK_PACKAGE_CRYPTINIT_SWAP:=$(strip $(subst ",, $(ADK_PACKAGE_CRYPTINIT_SWAP)))
ADK_PACKAGE_CMDLINE:=root=$(ADK_PACKAGE_CRYPTINIT_ROOT) swap=$(ADK_PACKAGE_CRYPTINIT_SWAP) resume=/dev/mapper/swapcrypt
+ifeq ($(ADK_TARGET_KERNEL_USE_MINICONFIG),y)
ifeq ($(ADK_TARGET_KERNEL_CUSTOMISING),y)
config-prepare: $(ADK_TOPDIR)/.config
@PATH='$(HOST_PATH)' sed -n '/^ADK_KERNEL/s//CONFIG/p' $(ADK_TOPDIR)/.config \
@@ -124,6 +125,10 @@ config-prepare: $(ADK_TOPDIR)/.config
@cd $(BUILD_DIR) && cmp -s .kernelconfig.board .kernelconfig || \
cp .kernelconfig.board .kernelconfig
endif
+else
+config-prepare: $(ADK_TOPDIR)/.config
+ @true
+endif
prepare: $(ADK_TARGET_ARCH)-prepare
compile: $(ADK_TARGET_ARCH)-compile