[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 b778a2e..efe7a6d 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
+LIBRPC_DEPENDS=+USE_UCLIBC:librpc
 
 ifndef DUMP
   ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)