summaryrefslogtreecommitdiffstats
path: root/openwrt/target/linux/package/openswan/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/linux/package/openswan/Makefile')
-rw-r--r--openwrt/target/linux/package/openswan/Makefile3
1 files changed, 2 insertions, 1 deletions
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