summaryrefslogtreecommitdiff
path: root/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
commitfab36944b82bc97f895079c4cd5eae8ba272e8ac (patch)
treea29381bc24710f8e3c8ad55d68c02e11c2e60a91 /target/linux/package/spca5xx/Makefile
parentb369478658856b8ef8f1b46e397e6004a54da55f (diff)
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 $@