summaryrefslogtreecommitdiffstats
path: root/openwrt/target/linux/package/spca5xx/Makefile
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-09 10:00:28 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-09 10:00:28 +0000
commit93ffeaf647765f11d397a540d6c1b5a4a1b1e35f (patch)
tree61b18d50b2e6d46167b63ce19bc16dc7e9178c00 /openwrt/target/linux/package/spca5xx/Makefile
parent1be4794eae857c62fb2da75e7f295d7b688130e6 (diff)
fix 2.6 module build when compiling on a 2.4 host system
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2606 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/package/spca5xx/Makefile')
-rw-r--r--openwrt/target/linux/package/spca5xx/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/openwrt/target/linux/package/spca5xx/Makefile b/openwrt/target/linux/package/spca5xx/Makefile
index a2b43e997..95a48a9a3 100644
--- a/openwrt/target/linux/package/spca5xx/Makefile
+++ b/openwrt/target/linux/package/spca5xx/Makefile
@@ -28,6 +28,9 @@ $(PKG_BUILD_DIR)/.configured:
$(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(KERNEL_DIR) \
+ ARCH="$(LINUX_KARCH)" \
+ CROSS_COMPILE="$(TARGET_CROSS)" \
+ KERNELVERSION="$(KERNEL_VERSION)" \
SUBDIRS="$(PKG_BUILD_DIR)" \
modules
touch $@