xinetd: fix build without RPC support

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2012-06-16 22:58:26 +02:00
parent db21bfcfd4
commit 1a4b482776
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,5 @@
config BR2_PACKAGE_XINETD
bool "xinetd"
depends on BR2_INET_RPC
help
xinetd is a secure replacement for inetd. It was originally written by
panos@cs.colorado.edu.

View File

@ -7,4 +7,8 @@ XINETD_VERSION = 2.3.15
XINETD_SOURCE = xinetd-$(XINETD_VERSION).tar.gz
XINETD_SITE = http://www.xinetd.org
ifneq ($(BR2_INET_RPC),y)
XINETD_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DNO_RPC"
endif
$(eval $(call AUTOTARGETS))