diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-12 20:59:06 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-12 20:59:06 +0100 |
commit | 12f9003b7bca96ef6a849e515f1e58b5880ad7f0 (patch) | |
tree | 6481bdbe01a81ee47a71c1a250f46fe4668d7256 /package | |
parent | 2a52a8ea1a405a82ee6640253603067fd5b4fcef (diff) |
fix cross-compile under Darwin
Diffstat (limited to 'package')
-rw-r--r-- | package/pciutils/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/package/pciutils/Makefile b/package/pciutils/Makefile index 2e21cd918..e1176564d 100644 --- a/package/pciutils/Makefile +++ b/package/pciutils/Makefile @@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk PKG_NAME:= pciutils PKG_VERSION:= 3.1.7 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= f3e349d22a3714b4272b171649ad5235 PKG_DESCR:= PCI Utilities PKG_SECTION:= utils @@ -14,8 +14,6 @@ PKG_BUILDDEP:= zlib PKG_URL:= http://www.kernel.org/pub/software/utils/pciutils/ PKG_SITES:= http://www.kernel.org/pub/software/utils/pciutils/ -PKG_HOST_DEPENDS:= !darwin - include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,PCIUTILS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) @@ -24,7 +22,8 @@ CONFIG_STYLE:= manual INSTALL_STYLE:= manual MAKE_FLAGS+= CC="${TARGET_CC}" \ - CFLAGS="${TCFLAGS}" \ + CFLAGS="${TARGET_CFLAGS}" \ + CROSS_COMPILE="${TARGET_CROSS}" \ IDSDIR="/usr/share" \ HOST=${GNU_TARGET_NAME} ALL_TARGET:= |