crconf: Pass CFLAGS properly
CFLAGS were not being passed, breaking ASLR builds.
Switched to using PKG_SOURCE_DATE for the version.
Added PKG_BUILD_PARALLEL for faster compilation.
Added license information.
Small Makefile cleanups.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 35a258a55c
)
This commit is contained in:
parent
f10bea0e44
commit
efe8842b51
1 changed files with 7 additions and 4 deletions
|
@ -6,19 +6,20 @@
|
|||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_SOURCE_VERSION:=8bd996400d087028ba56b724abc1f5b378eaa77f
|
||||
|
||||
PKG_NAME:=crconf
|
||||
PKG_VERSION:=pre2-$(PKG_SOURCE_VERSION)
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://git.code.sf.net/p/crconf/code
|
||||
PKG_MIRROR_HASH:=f772306c0b005c18f481b73e3be193dba5ebb9f6f3bf20cb3f67c4a80dac0613
|
||||
PKG_SOURCE_DATE:=2018-03-02
|
||||
PKG_SOURCE_VERSION:=8bd996400d087028ba56b724abc1f5b378eaa77f
|
||||
PKG_MIRROR_HASH:=454307cb40a8743b53933cbdd4d9367996ffcf1bd2946413d2862cf050df3bca
|
||||
|
||||
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
||||
PKG_LICENSE:=GPL-2.0-only
|
||||
|
||||
PKG_INSTALL:=1
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
@ -37,6 +38,8 @@ define Package/crconf/description
|
|||
Most interesting stuff you can find on https://wiki.strongswan.org
|
||||
endef
|
||||
|
||||
MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS) -I../include"
|
||||
|
||||
define Package/crconf/install
|
||||
$(INSTALL_DIR) $(1)/sbin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/sbin/crconf $(1)/sbin
|
||||
|
|
Loading…
Reference in a new issue