]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - scripts/kconfig/Makefile
Makefile: Improve generated_defconfig file handling
[thirdparty/u-boot.git] / scripts / kconfig / Makefile
index 5ce5845e8247eb64b5efe1cf188cc40157d61237..079add4d5dab508c634a79f71e5a80db3a9255f9 100644 (file)
@@ -93,7 +93,7 @@ endif
 endif
 
 %_defconfig: $(obj)/conf
-       $(Q)$(CPP) -nostdinc -I $(srctree) -undef -x assembler-with-cpp $(srctree)/arch/$(SRCARCH)/configs/$@ -o generated_defconfig
+       $(Q)$(CPP) -nostdinc -P -I $(srctree) -undef -x assembler-with-cpp $(srctree)/arch/$(SRCARCH)/configs/$@ -o generated_defconfig
        $(Q)$< $(silent) --defconfig=generated_defconfig $(Kconfig)
 
 # Added for U-Boot (backward compatibility)