projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rstrip.sh: fix handling variations in "file" output
[openwrt/openwrt.git]
/
include
/
u-boot.mk
diff --git
a/include/u-boot.mk
b/include/u-boot.mk
index 4993eb6a060c70792ada7b63caee32666c1075fb..0c2865332631f03f7c7920701ce4e073af1e3c89 100644
(file)
--- a/
include/u-boot.mk
+++ b/
include/u-boot.mk
@@
-32,6
+32,7
@@
define U-Boot/Init
NAME:=
DEPENDS:=
HIDDEN:=
NAME:=
DEPENDS:=
HIDDEN:=
+ DEFAULT:=
VARIANT:=$(1)
UBOOT_CONFIG:=$(1)
UBOOT_IMAGE:=u-boot.bin
VARIANT:=$(1)
UBOOT_CONFIG:=$(1)
UBOOT_IMAGE:=u-boot.bin
@@
-59,6
+60,7
@@
define Build/U-Boot/Target
$(patsubst %,|| $(patsubst TARGET_%,TARGET_DEVICE_%,$(TARGET_DEP))_DEVICE_%,$(BUILD_DEVICES)))
endif
endif
$(patsubst %,|| $(patsubst TARGET_%,TARGET_DEVICE_%,$(TARGET_DEP))_DEVICE_%,$(BUILD_DEVICES)))
endif
endif
+ $(if $(DEFAULT),DEFAULT:=$(DEFAULT))
URL:=http://www.denx.de/wiki/U-Boot
endef
URL:=http://www.denx.de/wiki/U-Boot
endef
@@
-76,7
+78,8
@@
DTC=$(wildcard $(LINUX_DIR)/scripts/dtc/dtc)
define Build/Compile/U-Boot
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
CROSS_COMPILE=$(TARGET_CROSS) \
define Build/Compile/U-Boot
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
CROSS_COMPILE=$(TARGET_CROSS) \
- $(if $(DTC),DTC="$(DTC)")
+ $(if $(DTC),DTC="$(DTC)") \
+ $(UBOOT_MAKE_FLAGS)
endef
define BuildPackage/U-Boot/Defaults
endef
define BuildPackage/U-Boot/Defaults