diff options
Diffstat (limited to 'package/u-boot')
-rw-r--r-- | package/u-boot/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/package/u-boot/Makefile b/package/u-boot/Makefile index 64a8fb81d..cf786d4f0 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:= 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 include $(ADK_TOPDIR)/mk/host.mk include $(ADK_TOPDIR)/mk/package.mk @@ -42,6 +42,10 @@ ifeq ($(ADK_TARGET_SYSTEM_BANANA_PRO),y) CONFIG:= Bananapro_defconfig UBOOT:= u-boot-sunxi-with-spl.bin endif +ifeq ($(ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK),y) +CONFIG:= am335x_evm_defconfig +UBOOT:= u-boot.img +endif HOST_MAKE_FLAGS+= HOSTCFLAGS="$(HOST_CPPFLAGS) $(HOST_CFLAGS)" \ HOSTLDFLAGS="$(HOST_LDFLAGS) -ldl" @@ -95,6 +99,10 @@ ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_IMX6),y) $(INSTALL_BIN) $(WRKBUILD)/SPL $(FW_DIR) $(INSTALL_BIN) ./files/boot.script.imx6 $(FW_DIR) endif +ifeq ($(ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK),y) + $(CP) ./files/uEnv.txt.bbb $(FW_DIR)/uEnv.txt + $(INSTALL_BIN) $(WRKBUILD)/MLO $(FW_DIR) +endif include $(ADK_TOPDIR)/mk/host-bottom.mk include $(ADK_TOPDIR)/mk/pkg-bottom.mk |