mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 14:46:31 +00:00
- simplify busybox version fiddling
This commit is contained in:
parent
d9ae4dd945
commit
415d655a74
@ -12,7 +12,7 @@ config BR2_PACKAGE_BUSYBOX
|
|||||||
choice
|
choice
|
||||||
prompt "BusyBox Version"
|
prompt "BusyBox Version"
|
||||||
depends BR2_PACKAGE_BUSYBOX
|
depends BR2_PACKAGE_BUSYBOX
|
||||||
default BR2_BUSYBOX_VERSION_1_2_2_1
|
default BR2_BUSYBOX_VERSION_1_4_2
|
||||||
help
|
help
|
||||||
Select the version of BusyBox you wish to use.
|
Select the version of BusyBox you wish to use.
|
||||||
|
|
||||||
@ -26,6 +26,7 @@ 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"
|
||||||
|
depends on BR2_DEPRECATED
|
||||||
|
|
||||||
config BR2_BUSYBOX_VERSION_1_4_0
|
config BR2_BUSYBOX_VERSION_1_4_0
|
||||||
bool "BusyBox 1.4.0"
|
bool "BusyBox 1.4.0"
|
||||||
@ -43,6 +44,14 @@ choice
|
|||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
config BR2_BUSYBOX_VERSION
|
||||||
|
string
|
||||||
|
default "1.0.1" if BR2_BUSYBOX_VERSION_1_0_1
|
||||||
|
default "1.1.3" if BR2_BUSYBOX_VERSION_1_1_3
|
||||||
|
default "1.2.2.1" if BR2_BUSYBOX_VERSION_1_2_2_1
|
||||||
|
default "1.4.0" if BR2_BUSYBOX_VERSION_1_4_0
|
||||||
|
default "1.4.1" if BR2_BUSYBOX_VERSION_1_4_1
|
||||||
|
default "1.4.2" if BR2_BUSYBOX_VERSION_1_4_2
|
||||||
|
|
||||||
|
|
||||||
config BR2_PACKAGE_BUSYBOX_INSTALL_SYMLINKS
|
config BR2_PACKAGE_BUSYBOX_INSTALL_SYMLINKS
|
||||||
|
@ -4,30 +4,6 @@
|
|||||||
#
|
#
|
||||||
#############################################################
|
#############################################################
|
||||||
|
|
||||||
ifeq ($(strip $(BR2_BUSYBOX_VERSION_1_0_1)),y)
|
|
||||||
BUSYBOX_VER:=1.01
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(strip $(BR2_BUSYBOX_VERSION_1_1_3)),y)
|
|
||||||
BUSYBOX_VER:=1.1.3
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(strip $(BR2_BUSYBOX_VERSION_1_2_2_1)),y)
|
|
||||||
BUSYBOX_VER:=1.2.2.1
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(strip $(BR2_BUSYBOX_VERSION_1_4_0)),y)
|
|
||||||
BUSYBOX_VER:=1.4.0
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(strip $(BR2_BUSYBOX_VERSION_1_4_1)),y)
|
|
||||||
BUSYBOX_VER:=1.4.1
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(strip $(BR2_BUSYBOX_VERSION_1_4_2)),y)
|
|
||||||
BUSYBOX_VER:=1.4.2
|
|
||||||
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....
|
||||||
@ -35,8 +11,8 @@ BUSYBOX_DIR:=$(BUILD_DIR)/busybox
|
|||||||
BUSYBOX_SOURCE:=busybox-snapshot.tar.bz2
|
BUSYBOX_SOURCE:=busybox-snapshot.tar.bz2
|
||||||
BUSYBOX_SITE:=http://www.busybox.net/downloads/snapshots
|
BUSYBOX_SITE:=http://www.busybox.net/downloads/snapshots
|
||||||
else
|
else
|
||||||
BUSYBOX_DIR:=$(BUILD_DIR)/busybox-$(BUSYBOX_VER)
|
BUSYBOX_DIR:=$(BUILD_DIR)/busybox-$(BR2_BUSYBOX_VERSION)
|
||||||
BUSYBOX_SOURCE:=busybox-$(BUSYBOX_VER).tar.bz2
|
BUSYBOX_SOURCE:=busybox-$(BR2_BUSYBOX_VERSION).tar.bz2
|
||||||
BUSYBOX_SITE:=http://www.busybox.net/downloads
|
BUSYBOX_SITE:=http://www.busybox.net/downloads
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -62,7 +38,7 @@ endif
|
|||||||
ifeq ($(strip $(BR2_PACKAGE_BUSYBOX_SNAPSHOT)),y)
|
ifeq ($(strip $(BR2_PACKAGE_BUSYBOX_SNAPSHOT)),y)
|
||||||
toolchain/patch-kernel.sh $(BUSYBOX_DIR) package/busybox busybox.\*.patch
|
toolchain/patch-kernel.sh $(BUSYBOX_DIR) package/busybox busybox.\*.patch
|
||||||
else
|
else
|
||||||
toolchain/patch-kernel.sh $(BUSYBOX_DIR) package/busybox busybox-$(BUSYBOX_VER)-\*.patch
|
toolchain/patch-kernel.sh $(BUSYBOX_DIR) package/busybox busybox-$(BR2_BUSYBOX_VERSION)-\*.patch
|
||||||
endif
|
endif
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user