summaryrefslogtreecommitdiffstats
path: root/package/busybox/busybox.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-09-13 21:04:12 +0000
committerEric Andersen <andersen@codepoet.org>2005-09-13 21:04:12 +0000
commitf2dd639c9f6ea0255b6dd2eaaed14a3b22813810 (patch)
tree375295e3c357a83515c46cf504d55e9981b539a4 /package/busybox/busybox.mk
parent0eb90feffd96f77dd0bc46e53947fda33d1c02fe (diff)
downloadbuildroot-novena-f2dd639c9f6ea0255b6dd2eaaed14a3b22813810.tar.gz
buildroot-novena-f2dd639c9f6ea0255b6dd2eaaed14a3b22813810.zip
if we have external syslogd, force busybox to use it
Diffstat (limited to 'package/busybox/busybox.mk')
-rw-r--r--package/busybox/busybox.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
index 720f5c20a..fe166aa6a 100644
--- a/package/busybox/busybox.mk
+++ b/package/busybox/busybox.mk
@@ -27,6 +27,10 @@ busybox-source: $(DL_DIR)/$(BUSYBOX_SOURCE) $(BUSYBOX_CONFIG_FILE)
$(BUSYBOX_DIR)/.unpacked: $(DL_DIR)/$(BUSYBOX_SOURCE)
$(BUSYBOX_UNZIP) $(DL_DIR)/$(BUSYBOX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ifeq ($(BR2_PACKAGE_SYSKLOGD),y)
+ # if we have external syslogd, force busybox to use it
+ $(SED) "/#include.*busybox\.h/a#define CONFIG_SYSLOGD" $(BUSYBOX_DIR)/init/init.c
+endif
# Allow busybox patches.
toolchain/patch-kernel.sh $(BUSYBOX_DIR) package/busybox busybox\*.patch
touch $(BUSYBOX_DIR)/.unpacked