aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/package/openswan/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/package/openswan/Makefile')
-rw-r--r--target/linux/package/openswan/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/package/openswan/Makefile b/target/linux/package/openswan/Makefile
index a105a1f540..d54ffae85e 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