projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eb90fe
)
if we have external syslogd, force busybox to use it
author
Eric Andersen
<andersen@codepoet.org>
Tue, 13 Sep 2005 21:04:12 +0000
(21:04 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Tue, 13 Sep 2005 21:04:12 +0000
(21:04 -0000)
package/busybox/busybox.mk
patch
|
blob
|
history
diff --git
a/package/busybox/busybox.mk
b/package/busybox/busybox.mk
index 720f5c20afac4e744ba18271daa394bf86ede9cb..fe166aa6a24c76f5017785c7e49fdca20c48d0e1 100644
(file)
--- 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