summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-08-15 08:49:02 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-08-15 08:49:02 +0000
commit40efb2d38a3dbf87dbd1e5fd5e8bb4b8a91297c7 (patch)
tree6c3282b2fa833c164048d78d6ca8ebbfea34bc6c
parent2c9faea8fbac8dc28e1acece40ed9722ccf5d34b (diff)
fix external package build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1682 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/package/fuse/Makefile3
-rw-r--r--target/linux/package/madwifi/Makefile3
-rw-r--r--target/linux/package/openswan/Makefile3
3 files changed, 6 insertions, 3 deletions
diff --git a/target/linux/package/fuse/Makefile b/target/linux/package/fuse/Makefile
index 5d1dc89d4..9c66cea18 100644
--- a/target/linux/package/fuse/Makefile
+++ b/target/linux/package/fuse/Makefile
@@ -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
diff --git a/target/linux/package/madwifi/Makefile b/target/linux/package/madwifi/Makefile
index bde33e2e1..4e1a7d312 100644
--- a/target/linux/package/madwifi/Makefile
+++ b/target/linux/package/madwifi/Makefile
@@ -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)"
diff --git a/target/linux/package/openswan/Makefile b/target/linux/package/openswan/Makefile
index a105a1f54..d54ffae85 100644
--- a/target/linux/package/openswan/Makefile
+++ b/target/linux/package/openswan/Makefile
@@ -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