fix external package build
authorFelix Fietkau <nbd@openwrt.org>
Mon, 15 Aug 2005 08:49:02 +0000 (08:49 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 15 Aug 2005 08:49:02 +0000 (08:49 +0000)
SVN-Revision: 1682

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

index 5d1dc89d4176c6a52388119ad684b173483f3f73..9c66cea1880061fa66a9536f17a0e09b0f1e4a37 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 bde33e2e1b70f549d5f0cb1af88f464649d423b9..4e1a7d312b4331c3bee7532755e46120018dc058 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 a105a1f540576bfe834935dfd2f4e75fa1417a93..d54ffae85e9dfe00b79fde3fa16e206d8763c6fa 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