From 9fb48ff07161975ac0f8185f5b226ca69e4fb70a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 13 Mar 2017 23:09:40 +0100 Subject: add stub for config-prepare if mini.config is not choosen --- target/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'target') 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 -- cgit v1.2.3