diff options
-rw-r--r-- | target/Makefile | 5 |
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 |