diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-21 17:20:24 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-21 17:20:24 +0200 |
commit | 90d5c8b73e8d538e121275b12e714332ca785cff (patch) | |
tree | b70121e4732d658097d1db00c8af381629ec82eb /package/libhugetlbfs/Makefile | |
parent | 33dd541790614765228a71477e1f8b2b6aa21ce1 (diff) |
automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages
Diffstat (limited to 'package/libhugetlbfs/Makefile')
-rw-r--r-- | package/libhugetlbfs/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/package/libhugetlbfs/Makefile b/package/libhugetlbfs/Makefile index 7541c3128..0cab56e39 100644 --- a/package/libhugetlbfs/Makefile +++ b/package/libhugetlbfs/Makefile @@ -5,25 +5,26 @@ include $(TOPDIR)/rules.mk PKG_NAME:= libhugetlbfs PKG_VERSION:= 2.11 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= 35e68f16b704f2e339622a8ca07fdee0 PKG_DESCR:= easy hugepage access PKG_SECTION:= libs PKG_URL:= http://libhugetlbfs.ozlabs.org/ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libhugetlbfs/} +PKG_OPTS:= dev -PKG_CFLINE_LIBHUGETLBFS:= depends on ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC +PKG_LIBC_DEPENDS:= eglibc glibc musl PKG_ARCH_DEPENDS:= x86 x86_64 include $(TOPDIR)/mk/package.mk -$(eval $(call PKG_template,LIBHUGETLBFS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,LIBHUGETLBFS,libhugetlbfs,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) CONFIG_STYLE:= manual XAKE_FLAGS+= PREFIX=/usr DESTDIR=${WRKINST} ADK_ARCH=${CPU_ARCH} ALL_TARGET:= libs tools -post-install: +libhugetlbfs-install: $(INSTALL_DIR) $(IDIR_LIBHUGETLBFS)/usr/{bin,lib,share/libhugetlbfs/ldscripts} $(INSTALL_BIN) $(WRKINST)/usr/bin/{cpupcstat,huge{adm,ctl,edit},pagesize} \ $(IDIR_LIBHUGETLBFS)/usr/bin |