mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 18:59:13 +08:00
u-boot.mk: add support for overriding DEFAULT
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
1e14f01ed6
commit
1c0addb156
@ -32,6 +32,7 @@ define U-Boot/Init
|
|||||||
NAME:=
|
NAME:=
|
||||||
DEPENDS:=
|
DEPENDS:=
|
||||||
HIDDEN:=
|
HIDDEN:=
|
||||||
|
DEFAULT:=
|
||||||
VARIANT:=$(1)
|
VARIANT:=$(1)
|
||||||
UBOOT_CONFIG:=$(1)
|
UBOOT_CONFIG:=$(1)
|
||||||
UBOOT_IMAGE:=u-boot.bin
|
UBOOT_IMAGE:=u-boot.bin
|
||||||
@ -59,6 +60,7 @@ define Build/U-Boot/Target
|
|||||||
$(patsubst %,|| $(patsubst TARGET_%,TARGET_DEVICE_%,$(TARGET_DEP))_DEVICE_%,$(BUILD_DEVICES)))
|
$(patsubst %,|| $(patsubst TARGET_%,TARGET_DEVICE_%,$(TARGET_DEP))_DEVICE_%,$(BUILD_DEVICES)))
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
$(if $(DEFAULT),DEFAULT:=$(DEFAULT))
|
||||||
URL:=http://www.denx.de/wiki/U-Boot
|
URL:=http://www.denx.de/wiki/U-Boot
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user