From a67183a7bc6f65535877f98ca25f662affbc1df5 Mon Sep 17 00:00:00 2001
From: Josua Mayer <josua.mayer97@gmail.com>
Date: Sat, 13 Aug 2016 15:50:54 +0200
Subject: [PATCH] mvebu: clearfog: require uboot-mvebu-clearfog

The u-boot variant for the clearfog is provided by the uboot-mvebu-clearfog,
and not by the generic uboot-mvebu packae.
Make sure the clearfog variant is selected when building for it.

Signed-off-by: Josua Mayer <josua.mayer97@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
 target/linux/mvebu/image/Makefile          | 1 +
 target/linux/mvebu/profiles/000-Default.mk | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile
index deab33c9c9..a09cf24f1a 100644
--- a/target/linux/mvebu/image/Makefile
+++ b/target/linux/mvebu/image/Makefile
@@ -150,6 +150,7 @@ define Device/armada-388-clearfog
   KERNEL_INSTALL := 1
   KERNEL := dtb | kernel-bin
   DEVICE_TITLE := SolidRun ClearFog
+  DEVICE_PACKAGES := uboot-mvebu-clearfog
   IMAGES := bundle.tar.gz
   IMAGE/bundle.tar.gz := clearfog-bundle
   IMAGE_NAME = $$(IMAGE_PREFIX)-$$(2)
diff --git a/target/linux/mvebu/profiles/000-Default.mk b/target/linux/mvebu/profiles/000-Default.mk
index 7f71f3e01f..5a03fe9bb4 100644
--- a/target/linux/mvebu/profiles/000-Default.mk
+++ b/target/linux/mvebu/profiles/000-Default.mk
@@ -7,7 +7,7 @@
 
 define Profile/Default
 	NAME:=Default Profile (all drivers)
-	PACKAGES:= kmod-mwlwifi wpad-mini swconfig
+	PACKAGES:= kmod-mwlwifi wpad-mini swconfig uboot-mvebu-clearfog
 endef
 
 define Profile/Default/Description
-- 
GitLab