mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
Busybox 1.4.0 support
This commit is contained in:
@@ -24,6 +24,9 @@ choice
|
|||||||
config BR2_BUSYBOX_VERSION_1_2_2_1
|
config BR2_BUSYBOX_VERSION_1_2_2_1
|
||||||
bool "BusyBox 1.2.2.1"
|
bool "BusyBox 1.2.2.1"
|
||||||
|
|
||||||
|
config BR2_BUSYBOX_VERSION_1_4_0
|
||||||
|
bool "BusyBox 1.4.0"
|
||||||
|
|
||||||
config BR2_PACKAGE_BUSYBOX_SNAPSHOT
|
config BR2_PACKAGE_BUSYBOX_SNAPSHOT
|
||||||
bool "daily snapshot"
|
bool "daily snapshot"
|
||||||
|
|
||||||
@@ -51,6 +54,7 @@ config BR2_PACKAGE_BUSYBOX_CONFIG
|
|||||||
default "package/busybox/busybox-1.0.1.config" if BR2_BUSYBOX_VERSION_1_0_1
|
default "package/busybox/busybox-1.0.1.config" if BR2_BUSYBOX_VERSION_1_0_1
|
||||||
default "package/busybox/busybox-1.1.3.config" if BR2_BUSYBOX_VERSION_1_1_3
|
default "package/busybox/busybox-1.1.3.config" if BR2_BUSYBOX_VERSION_1_1_3
|
||||||
default "package/busybox/busybox-1.2.2.1.config" if BR2_BUSYBOX_VERSION_1_2_2_1
|
default "package/busybox/busybox-1.2.2.1.config" if BR2_BUSYBOX_VERSION_1_2_2_1
|
||||||
|
default "package/busybox/busybox-1.4.0.config" if BR2_BUSYBOX_VERSION_1_4_0
|
||||||
help
|
help
|
||||||
Some people may wish to use their own modified BusyBox configuration
|
Some people may wish to use their own modified BusyBox configuration
|
||||||
file, and will specify their config file location with this option.
|
file, and will specify their config file location with this option.
|
||||||
|
|||||||
@@ -25,6 +25,13 @@ BUSYBOX_SOURCE:=busybox-$(BUSYBOX_VER).tar.bz2
|
|||||||
BUSYBOX_SITE:=http://www.busybox.net/downloads
|
BUSYBOX_SITE:=http://www.busybox.net/downloads
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(strip $(BR2_BUSYBOX_VERSION_1_4_0)),y)
|
||||||
|
BUSYBOX_VER:=1.4.0
|
||||||
|
BUSYBOX_DIR:=$(BUILD_DIR)/busybox-$(BUSYBOX_VER)
|
||||||
|
BUSYBOX_SOURCE:=busybox-$(BUSYBOX_VER).tar.bz2
|
||||||
|
BUSYBOX_SITE:=http://www.busybox.net/downloads
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(strip $(BR2_PACKAGE_BUSYBOX_SNAPSHOT)),y)
|
ifeq ($(strip $(BR2_PACKAGE_BUSYBOX_SNAPSHOT)),y)
|
||||||
# Be aware that this changes daily....
|
# Be aware that this changes daily....
|
||||||
BUSYBOX_DIR:=$(BUILD_DIR)/busybox
|
BUSYBOX_DIR:=$(BUILD_DIR)/busybox
|
||||||
@@ -51,7 +58,7 @@ ifeq ($(BR2_PACKAGE_SYSKLOGD),y)
|
|||||||
$(SED) "/#include.*busybox\.h/a#define CONFIG_SYSLOGD" $(BUSYBOX_DIR)/init/init.c
|
$(SED) "/#include.*busybox\.h/a#define CONFIG_SYSLOGD" $(BUSYBOX_DIR)/init/init.c
|
||||||
endif
|
endif
|
||||||
# Allow busybox patches.
|
# Allow busybox patches.
|
||||||
toolchain/patch-kernel.sh $(BUSYBOX_DIR) package/busybox busybox\*.patch
|
toolchain/patch-kernel.sh $(BUSYBOX_DIR) package/busybox busybox-$(BUSYBOX_VER)\*.patch
|
||||||
touch $(BUSYBOX_DIR)/.unpacked
|
touch $(BUSYBOX_DIR)/.unpacked
|
||||||
|
|
||||||
$(BUSYBOX_DIR)/.configured: $(BUSYBOX_DIR)/.unpacked $(BUSYBOX_CONFIG_FILE)
|
$(BUSYBOX_DIR)/.configured: $(BUSYBOX_DIR)/.unpacked $(BUSYBOX_CONFIG_FILE)
|
||||||
|
|||||||
Reference in New Issue
Block a user