]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - scripts/kconfig/Makefile
kconfig: Create include/generated for localmodconfig
[net-next-2.6.git] / scripts / kconfig / Makefile
index 80599e3a7994107cfa06f04e6a70c2d3ff2acbda..006c96f5fcb5d0b0a0e9a6ee8c2ab9166dea3b0d 100644 (file)
@@ -27,9 +27,11 @@ oldconfig: $(obj)/conf
        $< -o $(Kconfig)
 
 silentoldconfig: $(obj)/conf
+       $(Q)mkdir -p include/generated
        $< -s $(Kconfig)
 
 localmodconfig: $(obj)/streamline_config.pl $(obj)/conf
+       $(Q)mkdir -p include/generated
        $(Q)perl $< $(srctree) $(Kconfig) > .tmp.config
        $(Q)if [ -f .config ]; then                             \
                        cmp -s .tmp.config .config ||           \
@@ -44,6 +46,7 @@ localmodconfig: $(obj)/streamline_config.pl $(obj)/conf
        $(Q)rm -f .tmp.config
 
 localyesconfig: $(obj)/streamline_config.pl $(obj)/conf
+       $(Q)mkdir -p include/generated
        $(Q)perl $< $(srctree) $(Kconfig) > .tmp.config
        $(Q)sed -i s/=m/=y/ .tmp.config
        $(Q)if [ -f .config ]; then                             \