summaryrefslogtreecommitdiff
path: root/package/binutils
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
commit05d0076d97ed69a531df1aa5cde3a1e6ed17f922 (patch)
treee605e2d5de96fe9afe7ad8724fe57e9e5c5417e1 /package/binutils
parenta2e96ddb9519a2f40857f11501b88e465d25082d (diff)
replace mksh scripts with faster C programs
depmaker and pkgmaker is replaced by C programs. scan-pkgs.sh will be replaced by another mechanism. scan-pkgs.sh is needed to recognize package flavour changes, so that a package is rebuild. Generation of meta-data is a lot faster now. Fix or add new PKG variables to fulfill the needs of the new programs. Documentation will follow as soon as it is stable.
Diffstat (limited to 'package/binutils')
-rw-r--r--package/binutils/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/package/binutils/Makefile b/package/binutils/Makefile
index 6959e8e96..b076323d5 100644
--- a/package/binutils/Makefile
+++ b/package/binutils/Makefile
@@ -8,17 +8,16 @@ PKG_DESCR:= binary utilities (nm, objdump, as, ..)
PKG_SECTION:= lang
PKG_DEPENDS:= libbfd
-# subpackage
-PKG_NAME_LIBBFD:= libbfd
-PKG_DESCR_LIBBFD:= bfd library
-PKG_SECTION_LIBBFD:= libs
+PKG_SUBPKGS:= BINUTILS LIBBFD
+PKGSD_LIBBFD:= Binary File Descriptor library
+PKGSC_LIBBFD:= libs
PKG_HOST_DEPENDS:= !cygwin
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BINUTILS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBBFD,${PKG_NAME_LIBBFD},${PKG_VERSION}-${PKG_RELEASE},,${PKG_DESCR_LIBBFD},${PKG_SECTION_LIBBFD}))
+$(eval $(call PKG_template,LIBBFD,libbfd,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBBFD},${PKGSC_LIBBFD}))
TCFLAGS+= -fPIC
CONFIGURE_ARGS+= --disable-werror \