summaryrefslogtreecommitdiff
path: root/package/u-boot
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2019-10-08 10:12:06 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2019-10-08 10:15:41 +0200
commit041314ab268f54686bf2a0968e42286a159c4e89 (patch)
tree272e519c3d71fc0baac60483c1388de74a229a5f /package/u-boot
parent923cfd116d5c438bd5bc0d46bcbb6edba3edc138 (diff)
u-boot: add phytec-imx6 support
Diffstat (limited to 'package/u-boot')
-rw-r--r--package/u-boot/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/u-boot/Makefile b/package/u-boot/Makefile
index 4ffafa40f..8ef85c739 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 orange-pi0 raspberry-pi raspberry-pi2 raspberry-pi3 banana-pro solidrun-imx6 solidrun-clearfog raspberry-pi3-64 raspberry-pi3p raspberry-pi3p-64
+PKG_SYSTEM_DEPENDS:= beaglebone-black orange-pi0 raspberry-pi raspberry-pi2 raspberry-pi3 banana-pro solidrun-imx6 solidrun-clearfog raspberry-pi3-64 raspberry-pi3p raspberry-pi3p-64 phytec-imx6
include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk
@@ -29,6 +29,10 @@ ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG),y)
CONFIG:= clearfog_defconfig
UBOOT:= u-boot-spl.kwb
endif
+ifeq ($(ADK_TARGET_SYSTEM_PHYTEC_IMX6),y)
+CONFIG:= pcm058_defconfig
+UBOOT:= u-boot.img
+endif
ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_IMX6),y)
CONFIG:= mx6cuboxi_defconfig
UBOOT:= u-boot.img
@@ -101,6 +105,7 @@ u-boot-install:
$(INSTALL_DIR) $(IDIR_U_BOOT)/etc
$(CP) ./files/fw_env.config $(IDIR_U_BOOT)/etc
ifneq ($(OS_FOR_BUILD),Darwin)
+ $(INSTALL_DIR) $(IDIR_U_BOOT)/usr/bin
$(INSTALL_BIN) ./files/uboot_print_env $(IDIR_U_BOOT)/usr/bin
$(INSTALL_BIN) ./files/uboot_set_env $(IDIR_U_BOOT)/usr/bin
endif