aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-11-02 08:37:46 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-11-02 08:37:46 +0000
commit99d76fb1b1ae38ad27962d2c0d5d3bdb39c466d6 (patch)
tree0623066ce59623b6873ffcc8a1f61092a72c15d3
parent8f2b17f3921c6213b9379cb554d18f6f61b303c0 (diff)
downloadupstream-99d76fb1b1ae38ad27962d2c0d5d3bdb39c466d6.tar.gz
upstream-99d76fb1b1ae38ad27962d2c0d5d3bdb39c466d6.tar.bz2
upstream-99d76fb1b1ae38ad27962d2c0d5d3bdb39c466d6.zip
package/apex: fix a compile issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23768 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/apex/patches/001-compile_fix.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/apex/patches/001-compile_fix.patch b/package/apex/patches/001-compile_fix.patch
new file mode 100644
index 0000000000..8a25de6570
--- /dev/null
+++ b/package/apex/patches/001-compile_fix.patch
@@ -0,0 +1,20 @@
+--- a/Makefile
++++ b/Makefile
+@@ -444,7 +444,7 @@ ifeq ($(config-targets),1)
+ include $(srctree)/src/arch-$(SRCARCH)/Makefile
+ export KBUILD_DEFCONFIG
+
+-config %config: scripts_basic outputmakefile FORCE
++%config: scripts_basic outputmakefile FORCE
+ $(Q)mkdir -p include/linux include/config
+ $(Q)$(MAKE) $(build)=scripts/kconfig $@
+
+@@ -1585,7 +1585,7 @@ endif
+ $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
+
+ # Modules
+-/ %/: prepare scripts FORCE
++%/: prepare scripts FORCE
+ $(cmd_crmodverdir)
+ $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
+ $(build)=$(build-dir)