summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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