summaryrefslogtreecommitdiff
path: root/package/busybox/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-27 18:17:51 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-27 18:18:07 +0200
commit120fa5a3bfee8bdbdf2441cdd1b5aff0e4513db4 (patch)
tree580cd6c1f4c3c8a392b4473581844f5a5dc768c5 /package/busybox/Makefile
parente31aa3edfc7f6508e73b30d76bb1c82a4b5e8b2d (diff)
rework service startup, do not hardcode into postinst scripts
Diffstat (limited to 'package/busybox/Makefile')
-rw-r--r--package/busybox/Makefile12
1 files changed, 0 insertions, 12 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index fe3d313a5..eabed3ef3 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -47,21 +47,9 @@ do-configure:
do-build:
PATH='$(HOST_PATH)' $(MAKE) ${BB_MAKE_FLAGS} -C ${WRKBUILD} busybox
-BBDEFS:=(
-define BBDEF
-ifeq ($(ADK_RUNTIME_START_BUSYBOX_$(1)),y)
-BBDEFS+=echo BBDEF_$(1)=YES;
-else
-BBDEFS+=echo BBDEF_$(1)=NO;
-endif
-endef
-$(foreach OPTION,CROND WATCHDOG SYSLOGD INETD NTPD,$(eval $(call BBDEF,$(OPTION))))
-
do-install:
PATH='$(HOST_PATH)' $(MAKE) ${BB_MAKE_FLAGS} -C ${WRKBUILD} install $(MAKE_TRACE)
$(CP) $(WRKINST)/* $(IDIR_BUSYBOX)/
- $(INSTALL_DIR) $(IDIR_BUSYBOX)/etc
- ${BBDEFS} :) >$(IDIR_BUSYBOX)/etc/.bb_defaults
ifeq ($(BUSYBOX_IFUPDOWN),y)
$(INSTALL_DIR) $(IDIR_BUSYBOX)/etc/init.d
$(INSTALL_BIN) ./files/network $(IDIR_BUSYBOX)/etc/init.d