mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:55:55 +02:00
busybox: only add the librpc build dependency for uclibc (#8864)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26429 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8d65fda8a8
commit
5e25adcf4a
@ -19,6 +19,10 @@ config BUSYBOX_CONFIG_HUSH
|
||||
default y if NOMMU
|
||||
default n if !NOMMU
|
||||
|
||||
config BUSYBOX_USE_LIBRPC
|
||||
depends USE_UCLIBC
|
||||
default y if BUSYBOX_CONFIG_FEATURE_HAVE_RPC
|
||||
|
||||
source "package/busybox/config/Config.in"
|
||||
|
||||
endmenu
|
||||
|
@ -17,7 +17,7 @@ PKG_SOURCE_URL:=http://www.busybox.net/downloads \
|
||||
http://distfiles.gentoo.org/distfiles/
|
||||
PKG_MD5SUM:=a2ce1a951571da8c6e0eaf75b1acef60
|
||||
|
||||
PKG_BUILD_DEPENDS:=BUSYBOX_CONFIG_FEATURE_HAVE_RPC:librpc
|
||||
PKG_BUILD_DEPENDS:=BUSYBOX_USE_LIBRPC:librpc
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
@ -66,7 +66,7 @@ ifdef CONFIG_GCC_VERSION_LLVM
|
||||
endif
|
||||
|
||||
LDLIBS:=m crypt
|
||||
ifdef CONFIG_BUSYBOX_CONFIG_FEATURE_HAVE_RPC
|
||||
ifdef CONFIG_BUSYBOX_USE_LIBRPC
|
||||
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
|
||||
export LDFLAGS=$(TARGET_LDFLAGS)
|
||||
LDLIBS += rpc
|
||||
|
Loading…
Reference in New Issue
Block a user