From fab36944b82bc97f895079c4cd5eae8ba272e8ac Mon Sep 17 00:00:00 2001 From: nico Date: Fri, 9 Dec 2005 10:00:28 +0000 Subject: 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 --- target/linux/package/spca5xx/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target/linux/package/spca5xx/Makefile') diff --git a/target/linux/package/spca5xx/Makefile b/target/linux/package/spca5xx/Makefile index a2b43e997..95a48a9a3 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 $@ -- cgit v1.2.3