Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/busybox

Buildroot sjhill at uclibc.org 1 participant 1 message May 7, 2007

lore
Share & tools
lore
#0 lore raw

Author: sjhill
Date: 2007-05-06 21:04:34 -0700 (Sun, 06 May 2007) New Revision: 18580

Log:
If any of the netkit packages were selected, we disable their counterparts in Busybox and warn the user.

Modified:
trunk/buildroot/package/busybox/busybox.mk

Changeset:
Modified: trunk/buildroot/package/busybox/busybox.mk
===================================================================

buildroot/package/busybox/busybox.mk +10 -0
@@ -78,6 +78,16 @@
 	# force mdev on
 	$(SED) "s/^.*CONFIG_MDEV.*/CONFIG_MDEV=y/" $(BUSYBOX_DIR)/.config
 endif
+ifeq ($(BR2_PACKAGE_NETKITBASE),y)
+	# disable usage of inetd if netkit-base package is selected
+	$(SED) "s/^.*CONFIG_INETD.*/CONFIG_INETD=n/;" $(BUSYBOX_DIR)/.config
+	@echo "WARNING!! CONFIG_INETD option disabled!"
+endif
+ifeq ($(BR2_PACKAGE_NETKITTELNET),y)
+	# disable usage of telnetd if netkit-telnetd package is selected
+	$(SED) "s/^.*CONFIG_TELNETD.*/CONFIG_TELNETD=n/;" $(BUSYBOX_DIR)/.config
+	@echo "WARNING!! CONFIG_TELNETD option disabled!"
+endif
 	yes "" | $(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \
 		CROSS="$(TARGET_CROSS)" -C $(BUSYBOX_DIR) oldconfig
 	touch $@