X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/50af40000ac37ef921ebd46f6d641959503ee919..9c9d170774c0991b3e9065fe7a36a118255a8959:/openwrt/target/linux/package/openswan/Makefile?ds=sidebyside diff --git a/openwrt/target/linux/package/openswan/Makefile b/openwrt/target/linux/package/openswan/Makefile index 5ebb8702d..0e446902e 100644 --- a/openwrt/target/linux/package/openswan/Makefile +++ b/openwrt/target/linux/package/openswan/Makefile @@ -1,11 +1,12 @@ # $Id$ include $(TOPDIR)/rules.mk +include ../../rules.mk PKG_NAME:=openswan -PKG_VERSION:=2.3.1 +PKG_VERSION:=2.4.0 PKG_RELEASE:=1 -PKG_MD5SUM:=3dcf1cd7efcbe8db3148fc288d429db1 +PKG_MD5SUM:=6cbba783658eb62b87cbf4937f5e8464 PKG_SOURCE_URL:=http://www.openswan.org/download PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -18,7 +19,7 @@ ifeq ($(KERNEL_DIR),) KERNEL_DIR:=$(LINUX_DIR) endif -$(eval $(call PKG_template,KMOD_OPENSWAN,kmod-openswan,$(LINUX_VERSION)+$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,KMOD_OPENSWAN,kmod-openswan,$(LINUX_VERSION)$(BOARD)+$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH),kernel ($(LINUX_VERSION)-$(BOARD)-$(KERNEL_RELEASE)))) FLAGS := $(TARGET_CFLAGS) -I$(PKG_BUILD_DIR)/linux/include -L$(STAGING_DIR)/usr/lib -I$(STAGING_DIR)/usr/include @@ -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