]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - Makefile
dm: core: Allow device_bind() to used without CONFIG_OF_CONTROL
[karo-tx-uboot.git] / Makefile
index 42263e4de28cf86d1a01d665fb9b5ea666650ecf..1fccd0b7e209f50f6c82c3324490cd7261469dad 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -341,7 +341,7 @@ CHECK               = sparse
 CHECKFLAGS     := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \
                  -Wbitwise -Wno-return-void -D__CHECK_ENDIAN__ $(CF)
 
-KBUILD_CPPFLAGS := -D__KERNEL__
+KBUILD_CPPFLAGS := -D__KERNEL__ -D__UBOOT__
 
 KBUILD_CFLAGS   := -Wall -Wstrict-prototypes \
                   -Wno-format-security \
@@ -458,7 +458,7 @@ KBUILD_DEFCONFIG := sandbox_defconfig
 export KBUILD_DEFCONFIG KBUILD_KCONFIG
 
 config: scripts_basic outputmakefile FORCE
-       (Q)$(MAKE) $(build)=scripts/kconfig $@
+       +$(Q)$(CONFIG_SHELL) $(srctree)/scripts/multiconfig.sh $@
 
 %config: scripts_basic outputmakefile FORCE
        +$(Q)$(CONFIG_SHELL) $(srctree)/scripts/multiconfig.sh $@