mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 03:50:44 -09:00
package/busybox: install example zcip.script when zcip is enabled
this way zcip will work out of the box when configured Signed-off-by: Sven Oliver Moll <buildroot@svol.li> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
ea3af05044
commit
aebefc1e5a
@@ -208,6 +208,13 @@ define BUSYBOX_INSTALL_UDHCPC_SCRIPT
|
||||
fi
|
||||
endef
|
||||
|
||||
define BUSYBOX_INSTALL_ZCIP_SCRIPT
|
||||
if grep -q CONFIG_ZCIP=y $(@D)/.config; then \
|
||||
$(INSTALL) -m 0755 -D $(@D)/examples/zcip.script \
|
||||
$(TARGET_DIR)/usr/share/zcip/default.script; \
|
||||
fi
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_INIT_BUSYBOX),y)
|
||||
|
||||
define BUSYBOX_SET_INIT
|
||||
@@ -366,6 +373,7 @@ define BUSYBOX_INSTALL_TARGET_CMDS
|
||||
$(BUSYBOX_INSTALL_INDIVIDUAL_BINARIES)
|
||||
$(BUSYBOX_INSTALL_INITTAB)
|
||||
$(BUSYBOX_INSTALL_UDHCPC_SCRIPT)
|
||||
$(BUSYBOX_INSTALL_ZCIP_SCRIPT)
|
||||
$(BUSYBOX_INSTALL_MDEV_CONF)
|
||||
endef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user