8a25de657093105cfe1310f7797b5ed46672c625
[openwrt/staging/yousong.git] / package / apex / patches / 001-compile_fix.patch
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -444,7 +444,7 @@ ifeq ($(config-targets),1)
4 include $(srctree)/src/arch-$(SRCARCH)/Makefile
5 export KBUILD_DEFCONFIG
6
7 -config %config: scripts_basic outputmakefile FORCE
8 +%config: scripts_basic outputmakefile FORCE
9 $(Q)mkdir -p include/linux include/config
10 $(Q)$(MAKE) $(build)=scripts/kconfig $@
11
12 @@ -1585,7 +1585,7 @@ endif
13 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
14
15 # Modules
16 -/ %/: prepare scripts FORCE
17 +%/: prepare scripts FORCE
18 $(cmd_crmodverdir)
19 $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
20 $(build)=$(build-dir)