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
24 define U-Boot
/omap4_panda
26 BUILD_DEVICES
:=omap4-panda
29 define U-Boot
/am335x_evm
31 BUILD_DEVICES
:=am335x-evm
34 define U-Boot
/omap3_overo
38 define U-Boot
/omap3_beagle
40 BUILD_DEVICES
:=omap3-beagle
43 UBOOT_TARGETS
:=omap4_panda am335x_evm omap3_overo omap3_beagle
45 define Build
/InstallDev
46 $(INSTALL_DIR
) $(STAGING_DIR_IMAGE
)/$(BUILD_DEVICES
)
47 $(CP
) $(patsubst %,$(PKG_BUILD_DIR
)/%,$(UBOOT_IMAGE
)) $(STAGING_DIR_IMAGE
)/$(BUILD_DEVICES
)/
50 $(eval
$(call BuildPackage
/U-Boot
))