summaryrefslogtreecommitdiff
path: root/package/u-boot
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-14 18:22:41 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-14 18:23:01 +0200
commitc3a46c606d40ed639e706aef9979d6f4d6d2a0c2 (patch)
treebf88fdceb49f4488d4827f6afe69010284d3edad /package/u-boot
parent7cb985a6d193ec4664a6aa3ceebd2cd6a8a6fd83 (diff)
beaglebone-black: some fixes, no serial output yet
Diffstat (limited to 'package/u-boot')
-rw-r--r--package/u-boot/Makefile10
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