浏览代码

target/Makefile: fix for ADK_TARGET_KERNEL_CUSTOMISING=n

The prepared kernel config wasn't copied to it's final place.
Phil Sutter 9 年之前
父节点
当前提交
ff984a2960
共有 1 个文件被更改,包括 2 次插入0 次删除
  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