aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/package/spca5xx/Makefile
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-12-09 10:00:28 +0000
committerNicolas Thill <nico@openwrt.org>2005-12-09 10:00:28 +0000
commitbb389764b1f56e0a878d5de2181aed1d9912bf51 (patch)
treea29381bc24710f8e3c8ad55d68c02e11c2e60a91 /target/linux/package/spca5xx/Makefile
parent0aa4ee2c4a0e09cf297ed18082169366ad71fd27 (diff)
downloadupstream-bb389764b1f56e0a878d5de2181aed1d9912bf51.tar.gz
upstream-bb389764b1f56e0a878d5de2181aed1d9912bf51.tar.bz2
upstream-bb389764b1f56e0a878d5de2181aed1d9912bf51.zip
fix 2.6 module build when compiling on a 2.4 host system
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2606 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/package/spca5xx/Makefile')
-rw-r--r--target/linux/package/spca5xx/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/package/spca5xx/Makefile b/target/linux/package/spca5xx/Makefile
index a2b43e997d..95a48a9a30 100644
--- a/target/linux/package/spca5xx/Makefile
+++ b/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 $@