[buildroot] add an abstract $(LIBRPC_DEPENDS) variable for feed packages to rely on
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 3 Mar 2011 01:45:36 +0000 (01:45 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 3 Mar 2011 01:45:36 +0000 (01:45 +0000)
SVN-Revision: 25841

rules.mk

index b778a2e84e86fd87277c6d3bb5b51f617824be4b..efe7a6d65bdc81393fe91ad754962a725e2cf0e5 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -114,6 +114,7 @@ LIBGCC_S=$(if $(wildcard $(TOOLCHAIN_DIR)/lib/libgcc_s.so),-L$(TOOLCHAIN_DIR)/li
 ifdef CONFIG_USE_UCLIBC
 LIBRPC=-lrpc
 endif
 ifdef CONFIG_USE_UCLIBC
 LIBRPC=-lrpc
 endif
+LIBRPC_DEPENDS=+USE_UCLIBC:librpc
 
 ifndef DUMP
   ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
 
 ifndef DUMP
   ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)