summaryrefslogtreecommitdiff
path: root/package/busybox/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-03-24 12:07:28 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2012-03-24 12:07:28 +0100
commitac46e350e174e78a55a348eda775665ae0eb3277 (patch)
tree5574ba5e9a7108554683edb25bcd4b99599b8fa7 /package/busybox/Makefile
parent89aa2adc650176b493075e1d8e64f1b6cc635d90 (diff)
update gcc, glibc and fix build breakage
Diffstat (limited to 'package/busybox/Makefile')
-rw-r--r--package/busybox/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index 0f305065e..65f7a95ef 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -9,6 +9,7 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= 9c0cae5a0379228e7b55e5b29528df8e
PKG_DESCR:= Core utilities for embedded systems
PKG_SECTION:= base
+PKG_BUILDDEP:= libtirpc
PKG_URL:= http://www.busybox.net/
PKG_SITES:= http://www.busybox.net/downloads/
@@ -38,7 +39,7 @@ BB_MAKE_FLAGS:= V=1 IPKG_ARCH="${CPU_ARCH}" ARCH="${ARCH}" GCC_HONOUR_COPTS=s \
HOSTCC="${CC_FOR_BUILD}" HOSTCFLAGS="$(CFLAGS_FOR_BUILD)" \
-C ${WRKBUILD}
ifneq (${ADK_NATIVE},y)
-BB_MAKE_FLAGS+= CROSS_COMPILE="$(TARGET_CROSS)"
+BB_MAKE_FLAGS+= CROSS_COMPILE="$(TARGET_CROSS)" EXTRA_LDFLAGS='-ltirpc' EXTRA_CPPFLAGS="-I$(STAGING_DIR)/usr/include/tirpc"
endif
# XXX: Although this looks like all new symbols are enabled when 'make oldconfig' runs, they're not.