summaryrefslogtreecommitdiff
path: root/package/u-boot/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-11-08 21:19:20 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-11-08 21:19:42 +0100
commit0fc2c05139c69ab8acb8fd287214c2a51b3b16e4 (patch)
tree78eb7ac77e5090e49bc77e685d30d463e4f62fe5 /package/u-boot/Makefile
parent5197e574887904883051c2d544821d14c9358fc8 (diff)
add basic clearfog support
Diffstat (limited to 'package/u-boot/Makefile')
-rw-r--r--package/u-boot/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/u-boot/Makefile b/package/u-boot/Makefile
index ee0f022aa..72635a6c1 100644
--- a/package/u-boot/Makefile
+++ b/package/u-boot/Makefile
@@ -16,7 +16,7 @@ PKG_SITES:= ftp://ftp.denx.de/pub/u-boot/
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SYSTEM_DEPENDS:= beaglebone-black raspberry-pi raspberry-pi2 atmel-ngw100 banana-pro solidrun-imx6
+PKG_SYSTEM_DEPENDS:= beaglebone-black raspberry-pi raspberry-pi2 atmel-ngw100 banana-pro solidrun-imx6 solidrun-clearfog
include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk
@@ -25,6 +25,10 @@ $(eval $(call HOST_template,U_BOOT,u-boot,$(PKG_VERSION)-$(PKG_RELEASE)))
$(eval $(call PKG_template,U_BOOT,u-boot,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
UBOOT:= u-boot.bin
+ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG),y)
+CONFIG:= clearfog_defconfig
+UBOOT:= u-boot-spl.kwb
+endif
ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_IMX6),y)
CONFIG:= mx6cuboxi_defconfig
UBOOT:= u-boot.img
@@ -94,6 +98,9 @@ endif
ifeq ($(ADK_TARGET_SYSTEM_BANANA_PRO),y)
$(INSTALL_BIN) ./files/boot.script.bpi $(FW_DIR)
endif
+ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG),y)
+ $(INSTALL_BIN) ./files/boot.script.clearfog $(FW_DIR)
+endif
ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_IMX6),y)
$(INSTALL_BIN) $(WRKBUILD)/SPL $(FW_DIR)
$(INSTALL_BIN) ./files/boot.script.imx6 $(FW_DIR)