summaryrefslogtreecommitdiffstats
path: root/rules/dbus.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2020-11-20 09:27:18 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-11-20 11:37:24 +0100
commit24cf43b69a8a057785facc2c05ea790298e7f149 (patch)
treee98b984bbaa9ffe4caca04fe25465f52c134b66e /rules/dbus.make
parent1971a748177952477cd81c85ce5de47b7f6f4387 (diff)
downloadptxdist-24cf43b69a8a057785facc2c05ea790298e7f149.tar.gz
ptxdist-24cf43b69a8a057785facc2c05ea790298e7f149.tar.xz
rules: cleanup busybox init start script handling
Make the options only visible if INITMETHOD_BBINIT is enabled. This makes the menu cleaner and the extra 'ifdef PTXCONF_INITMETHOD_BBINIT' can be dropped. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/dbus.make')
-rw-r--r--rules/dbus.make2
1 files changed, 0 insertions, 2 deletions
diff --git a/rules/dbus.make b/rules/dbus.make
index 53d19f6bf..168c58956 100644
--- a/rules/dbus.make
+++ b/rules/dbus.make
@@ -122,7 +122,6 @@ $(STATEDIR)/dbus.targetinstall:
# # busybox init: start script
# #
-ifdef PTXCONF_INITMETHOD_BBINIT
ifdef PTXCONF_DBUS_STARTSCRIPT
@$(call install_alternative, dbus, 0, 0, 0755, /etc/init.d/dbus)
@@ -132,7 +131,6 @@ ifneq ($(call remove_quotes,$(PTXCONF_DBUS_BBINIT_LINK)),)
/etc/rc.d/$(PTXCONF_DBUS_BBINIT_LINK))
endif
endif
-endif
ifdef PTXCONF_DBUS_SYSTEMD_UNIT
@$(call install_copy, dbus, 0, 0, 0644, -, \
/usr/lib/systemd/system/dbus.socket)