diff --git a/package/boot/uboot-mvebu/Makefile b/package/boot/uboot-mvebu/Makefile index 3cf6358448..2d01f86fcb 100644 --- a/package/boot/uboot-mvebu/Makefile +++ b/package/boot/uboot-mvebu/Makefile @@ -21,7 +21,6 @@ PKG_MD5SUM:=973c1d896be751321cc3aafa564f64b2 PKG_LICENSE:=GPL-2.0 GPL-2.0+ PKG_LICENSE_FILES:=Licenses/README -PKG_TARGETS:=bin PKG_BUILD_PARALLEL:=1 @@ -33,6 +32,7 @@ endef define uboot/clearfog TITLE:=U-Boot for SolidRun ClearFog A1 + DEVICE:=armada-388-clearfog endef UBOOTS:= \ @@ -42,7 +42,9 @@ define Package/uboot/template define Package/uboot-mvebu-$(1) SECTION:=boot CATEGORY:=Boot Loaders - DEPENDS:=@TARGET_mvebu + DEPENDS:=@(TARGET_DEVICE_mvebu_DEVICE_$(3)||TARGET_mvebu_DEVICE_$(3)) + DEFAULT:=m + HIDDEN:=1 TITLE:=$(2) URL:=http://www.denx.de/wiki/U-Boot VARIANT:=$(1) @@ -53,7 +55,7 @@ endef define BuildUBootPackage $(eval $(uboot/Default)) $(eval $(uboot/$(1))) - $(call Package/uboot/template,$(1),$(TITLE)) + $(call Package/uboot/template,$(1),$(TITLE),$(DEVICE)) endef define Build/Configure diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile index cf9d3c0ba2..7d58ed7df4 100644 --- a/target/linux/mvebu/image/Makefile +++ b/target/linux/mvebu/image/Makefile @@ -175,7 +175,7 @@ define Device/armada-388-clearfog KERNEL_INSTALL := 1 KERNEL := dtb | kernel-bin DEVICE_TITLE := SolidRun ClearFog - DEVICE_PACKAGES := uboot-mvebu-clearfog mkf2fs e2fsprogs + DEVICE_PACKAGES := mkf2fs e2fsprogs IMAGES := bundle.tar.gz sdcard.img.gz IMAGE/bundle.tar.gz := clearfog-bundle IMAGE/sdcard.img.gz := boot-scr | boot-img | sdcard-img | gzip