Browse Source

target/Makefile: fix for ADK_TARGET_KERNEL_CUSTOMISING=n

The prepared kernel config wasn't copied to it's final place.
Phil Sutter 9 years ago
parent
commit
ff984a2960
1 changed files with 2 additions and 0 deletions
  1. 2 0
      target/Makefile

+ 2 - 0
target/Makefile

@@ -106,6 +106,8 @@ config-prepare: $(ADK_TOPDIR)/.config
 		echo "no miniconfig found for target system"; \
 		exit 1; \
 	fi
+	@cd $(BUILD_DIR) && cmp -s .kernelconfig.board .kernelconfig || \
+	    cp .kernelconfig.board .kernelconfig
 endif
 
 prepare: $(ADK_TARGET_ARCH)-prepare