default "1.17.4" if BR2_BUSYBOX_VERSION_1_17_X
default "1.18.1" if BR2_BUSYBOX_VERSION_1_18_X
-config BR2_PACKAGE_BUSYBOX_FULLINSTALL
- bool "Install symlinks to BusyBox applets"
- default y
- help
- If you want to run BusyBox's own full install for the
- configured applets, then answer Y.
-
- This may overwrite files from other packages if your
- busybox includes replacement applets for the package.
-
- If you wish to just install /bin/busybox, then answer N.
-
config BR2_PACKAGE_BUSYBOX_CONFIG
string "BusyBox configuration file to use?"
default "package/busybox/busybox-1.18.x.config" if BR2_PACKAGE_BUSYBOX_SNAPSHOT
CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D)
endef
-ifeq ($(BR2_PACKAGE_BUSYBOX_FULLINSTALL),y)
-define BUSYBOX_INSTALL_BINARY
+define BUSYBOX_INSTALL_TARGET_CMDS
$(BUSYBOX_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" ARCH=$(KERNEL_ARCH) \
PREFIX="$(TARGET_DIR)" EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \
CROSS_COMPILE="$(TARGET_CROSS)" CONFIG_PREFIX="$(TARGET_DIR)" \
-C $(@D) install
-endef
-else
-define BUSYBOX_INSTALL_BINARY
- install -D -m 0755 $(BUSYBOX_DIR)/busybox $(TARGET_DIR)/bin/busybox
-endef
-endif
-
-define BUSYBOX_INSTALL_TARGET_CMDS
- $(BUSYBOX_INSTALL_BINARY)
if [ ! -f $(TARGET_DIR)/usr/share/udhcpc/default.script ]; then \
$(INSTALL) -m 0755 -D package/busybox/udhcpc.script \
$(TARGET_DIR)/usr/share/udhcpc/default.script; \