summaryrefslogtreecommitdiff
path: root/package/busybox/Makefile
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-03-13 18:11:31 +0000
committerJohn Crispin <john@openwrt.org>2013-03-13 18:11:31 +0000
commit16b84af05e0447b67cfcc010a3f671985f788f14 (patch)
tree799894945d0b82fb43af6ee1123634c400506bbd /package/busybox/Makefile
parentfce3deddff594be4a9d71f53e5ed6812033c2dd0 (diff)
downloadmtk-20170518-16b84af05e0447b67cfcc010a3f671985f788f14.zip
mtk-20170518-16b84af05e0447b67cfcc010a3f671985f788f14.tar.gz
mtk-20170518-16b84af05e0447b67cfcc010a3f671985f788f14.tar.bz2
make init and logread depend on !PROCD_INIT
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36005
Diffstat (limited to 'package/busybox/Makefile')
-rw-r--r--package/busybox/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index 7aaaf6c..f4553c0 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -17,6 +17,7 @@ PKG_SOURCE_URL:=http://www.busybox.net/downloads \
http://distfiles.gentoo.org/distfiles/
PKG_MD5SUM:=9c0cae5a0379228e7b55e5b29528df8e
+PKG_CONFIG_DEPENDS:=CONFIG_PROCD_INIT
PKG_BUILD_DEPENDS:=BUSYBOX_CONFIG_FEATURE_HAVE_RPC:librpc
PKG_BUILD_PARALLEL:=1
@@ -112,6 +113,7 @@ define Package/busybox/install
$(INSTALL_BIN) ./files/$$$$tmp $(1)/etc/init.d/$$$$tmp; \
done
-rm -rf $(1)/lib64
+ $(if $(CONFIG_PROCD_INIT),rm -f $(1)/sbin/init $(1)/sbin/logread)
endef
$(eval $(call BuildPackage,busybox))