2 # Copyright (C) 2012-2013 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
9 include $(INCLUDE_DIR
)/kernel.mk
14 PKG_HASH
:=6c425175f93a4bcf2ec9faf5658ef279633dbd7856a293d95bd1ff516528ecf2
16 include $(INCLUDE_DIR
)/u-boot.mk
17 include $(INCLUDE_DIR
)/package.mk
21 UBOOT_IMAGE
:=u-boot.img MLO
25 define U-Boot
/omap4_panda
27 BUILD_DEVICES
:=ti_omap4-panda
30 define U-Boot
/am335x_boneblack
31 NAME
:=TI AM335x BeagleBone Black
32 BUILD_DEVICES
:=ti_am335x-bone-black
35 define U-Boot
/am335x_evm
37 BUILD_DEVICES
:=ti_am335x-evm
40 define U-Boot
/omap3_overo
44 define U-Boot
/omap3_beagle
46 BUILD_DEVICES
:=ti_omap3-beagle
49 UBOOT_TARGETS
:=omap4_panda am335x_evm omap3_overo omap3_beagle am335x_boneblack
51 define Build
/InstallDev
52 $(INSTALL_DIR
) $(STAGING_DIR_IMAGE
)/$(BUILD_DEVICES
)
53 $(CP
) $(patsubst %,$(PKG_BUILD_DIR
)/%,$(UBOOT_IMAGE
)) $(STAGING_DIR_IMAGE
)/$(BUILD_DEVICES
)/
54 $(CP
) .
/files
/uEnv-
$(UENV
).txt
$(STAGING_DIR_IMAGE
)/$(BUILD_DEVICES
)/uEnv.txt
57 $(eval
$(call BuildPackage
/U-Boot
))