From bc4db61582edb9dd84c98c0908fdb89d38fe2595 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 15 Aug 2005 08:49:02 +0000 Subject: fix external package build git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1682 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/target/linux/package/openswan/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openwrt/target/linux/package/openswan') diff --git a/openwrt/target/linux/package/openswan/Makefile b/openwrt/target/linux/package/openswan/Makefile index a105a1f54..d54ffae85 100644 --- a/openwrt/target/linux/package/openswan/Makefile +++ b/openwrt/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 -- cgit v1.2.3