summaryrefslogtreecommitdiff
path: root/package/utils/busybox/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-12-17 17:17:00 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-12-17 17:17:00 +0000
commit7a24db90aa7543999d7f3b72dd580c40f137be91 (patch)
tree79e51bd30fdd8cd80abd74dd93a7852a1d2accab /package/utils/busybox/Makefile
parentde5ebc19c0a83d75c73d515603cb17264800179c (diff)
downloadmtk-20170518-7a24db90aa7543999d7f3b72dd580c40f137be91.zip
mtk-20170518-7a24db90aa7543999d7f3b72dd580c40f137be91.tar.gz
mtk-20170518-7a24db90aa7543999d7f3b72dd580c40f137be91.tar.bz2
busybox: restore init scripts
Since the removal of the busybox menuconfig entries, the init scripts for cron, telnet and ntp are not packaged anymore. Unconditionally ship them from now on. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 39123
Diffstat (limited to 'package/utils/busybox/Makefile')
-rw-r--r--package/utils/busybox/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/package/utils/busybox/Makefile b/package/utils/busybox/Makefile
index 0b11a59..2cf4477 100644
--- a/package/utils/busybox/Makefile
+++ b/package/utils/busybox/Makefile
@@ -31,11 +31,6 @@ else
BB_MAKE_VERBOSE :=
endif
-init-y :=
-init-$(CONFIG_BUSYBOX_CONFIG_CROND) += cron
-init-$(CONFIG_BUSYBOX_CONFIG_NTPD) += sysntpd
-init-$(CONFIG_BUSYBOX_CONFIG_TELNETD) += telnet
-
define Package/busybox
SECTION:=base
CATEGORY:=Base system
@@ -113,9 +108,9 @@ endef
define Package/busybox/install
$(INSTALL_DIR) $(1)/etc/init.d
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
- for tmp in $(init-y); do \
- $(INSTALL_BIN) ./files/$$$$tmp $(1)/etc/init.d/$$$$tmp; \
- done
+ $(INSTALL_BIN) ./files/cron $(1)/etc/init.d/cron
+ $(INSTALL_BIN) ./files/telnet $(1)/etc/init.d/telnet
+ $(INSTALL_BIN) ./files/sysntpd $(1)/etc/init.d/sysntpd
-rm -rf $(1)/lib64
endef