libreswan: kernel module fix

use the kernel arch for building the modules

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
This commit is contained in:
Lucian Cristian 2019-04-11 10:31:51 +03:00
parent 17b1a3fcfe
commit 3211f534e9

View file

@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libreswan
PKG_VERSION:=3.27
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://download.libreswan.org/
@ -90,6 +90,7 @@ MAKE_FLAGS+= \
USE_SYSTEMD_WATCHDOG=false \
INC_USRLOCAL="/usr" \
FINALRUNDIR="/var/run/pluto" \
ARCH="$(LINUX_KARCH)" \
KERNELSRC="$(LINUX_DIR)"
define Build/Prepare