fix external package build
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 15 Aug 2005 08:49:02 +0000 (08:49 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 15 Aug 2005 08:49:02 +0000 (08:49 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1682 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/package/fuse/Makefile
target/linux/package/madwifi/Makefile
target/linux/package/openswan/Makefile

index 5d1dc89..9c66cea 100644 (file)
@@ -1,6 +1,7 @@
 # $Id$
 
 include $(TOPDIR)/rules.mk
+include ../../rules.mk
 
 PKG_NAME:=fuse
 PKG_VERSION:=2.2.1
@@ -66,7 +67,7 @@ $(PKG_BUILD_DIR)/.configured:
 $(PKG_BUILD_DIR)/.built:
        mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
-               ARCH="$(ARCH)" \
+               ARCH="$(LINUX_KARCH)" \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                SUBDIRS="kernel" \
                all install
index bde33e2..4e1a7d3 100644 (file)
@@ -1,6 +1,7 @@
 # $Id$
 
 include $(TOPDIR)/rules.mk
+include ../../rules.mk
 
 PKG_NAME:=madwifi
 PKG_VERSION:=2005-08-13
@@ -36,7 +37,7 @@ $(PKG_BUILD_DIR)/.configured:
 
 $(PKG_BUILD_DIR)/.built:
        $(MAKE) -C $(PKG_BUILD_DIR) \
-               ARCH="$(ARCH)" \
+               ARCH="$(LINUX_KARCH)" \
                TARGET="$(HAL_TARGET)" \
                TOOLPREFIX="$(KERNEL_CROSS)" \
                KERNELPATH="$(KERNEL_DIR)"
index a105a1f..d54ffae 100644 (file)
@@ -1,6 +1,7 @@
 # $Id$
 
 include $(TOPDIR)/rules.mk
+include ../../rules.mk
 
 PKG_NAME:=openswan
 PKG_VERSION:=2.3.1
@@ -26,7 +27,7 @@ $(PKG_BUILD_DIR)/.built:
        $(MAKE) -C $(PKG_BUILD_DIR) \
                $(TARGET_CONFIGURE_OPTS) \
                KERNELSRC="$(KERNEL_DIR)" \
-               ARCH="mips" \
+               ARCH="$(LINUX_KARCH)" \
                USERCOMPILE="$(FLAGS)" \
                module
 
This page took 0.025982 seconds and 4 git commands to generate.