summaryrefslogtreecommitdiff
path: root/package/coreutils
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-15 08:28:29 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-15 08:28:29 +0100
commit3b3017702b1ef100c6ccf214cf3117bf5a069e4d (patch)
tree788d6bbb5c53eef3b5b640b582e6349dd9b32aee /package/coreutils
parente106576e5f1e68c7796b172c303cd34df2939af1 (diff)
BCM28XX uses mkknlimg which need GNU tr, check for it otherwise compile coreutils on host
Diffstat (limited to 'package/coreutils')
-rw-r--r--package/coreutils/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/coreutils/Makefile b/package/coreutils/Makefile
index 2f31e7921..e47471851 100644
--- a/package/coreutils/Makefile
+++ b/package/coreutils/Makefile
@@ -15,9 +15,11 @@ PKG_URL:= http://www.gnu.org/software/coreutils/
PKG_SITES:= http://ftp.gnu.org/gnu/coreutils/
PKG_BB:= 1
+include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,COREUTILS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call HOST_template,COREUTILS,coreutils,$(PKG_VERSION)-${PKG_RELEASE}))
+$(eval $(call PKG_template,COREUTILS,coreutils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
AUTOTOOL_STYLE:= autoreconf
CONFIGURE_ARGS+= --disable-rpath
@@ -30,4 +32,5 @@ coreutils-install:
$(CP) $(WRKINST)/usr/libexec/* \
$(IDIR_COREUTILS)/usr/sbin
+include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk