X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fu-boot.mk;h=0c2865332631f03f7c7920701ce4e073af1e3c89;hb=b9b681c0675067dece47f9067779526b55bcf058;hp=4993eb6a060c70792ada7b63caee32666c1075fb;hpb=31b16a3c7dd8fb379c7756d3366cc1b490491435;p=openwrt%2Fopenwrt.git diff --git a/include/u-boot.mk b/include/u-boot.mk index 4993eb6a06..0c28653326 100644 --- a/include/u-boot.mk +++ b/include/u-boot.mk @@ -32,6 +32,7 @@ define U-Boot/Init NAME:= DEPENDS:= HIDDEN:= + DEFAULT:= 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 + $(if $(DEFAULT),DEFAULT:=$(DEFAULT)) 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) \ - $(if $(DTC),DTC="$(DTC)") + $(if $(DTC),DTC="$(DTC)") \ + $(UBOOT_MAKE_FLAGS) endef define BuildPackage/U-Boot/Defaults