Commit Diff


commit - 3220c9e6be61ec9f80562f4f0d8926d14dd790f5
commit + ddc4aa0e94412267eb9c66fa8f4135a5a2f60e8b
blob - 7e01a5e5ba2b686f74bf9f84964032ffe934fff2
blob + 7cdcc134ac37f1a27638fef326ae69cd566e2532
--- Makefile
+++ Makefile
@@ -90,9 +90,6 @@ build/.stamp.linux.src: src/$(LINUX_TAR)
 	$(MAKE) -C build/linux ARCH=$(ARCH) olddefconfig
 	touch $@
 
-build/linux/.config: build/.stamp.linux.src data/kconfig
-	cp data/kconfig build/linux/.config
-
 build/.stamp.binutils.src: src/$(BINUTILS_TAR)
 	@mkdir -p build
 	rm -rf build/binutils*
@@ -130,8 +127,11 @@ build/.stamp.kexec.src: src/$(KEXEC_TAR)
 	touch $@
 
 build/busybox/.config: build/.stamp.busybox.src data/bbconfig
-	cp bbconfig build/busybox/.config
+	cp -p data/bbconfig build/busybox/.config
 
+build/linux/.config: build/.stamp.linux.src data/kconfig
+	cp -p data/kconfig build/linux/.config
+
 build/.stamp.linux.headers: build/.stamp.linux.src
 	$(MAKE) -C build/linux ARCH=$(ARCH) INSTALL_HDR_PATH=$(TOOLS)/$(TARGET) headers_install
 	touch $@