uboot-omap: switch to u-boot.mk
[openwrt/openwrt.git] / package / boot / uboot-omap / Makefile
1 #
2 # Copyright (C) 2012-2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_VERSION:=2015.10
11 PKG_RELEASE:=1
12
13 PKG_HASH:=bdc68d5f9455ad933b059c735d983f2c8b6b552dafb062e5ff1444f623021955
14
15 include $(INCLUDE_DIR)/u-boot.mk
16 include $(INCLUDE_DIR)/package.mk
17
18 define U-Boot/Default
19 BUILD_TARGET:=omap
20 BUILD_DEVICES:=Default
21 UBOOT_IMAGE:=u-boot.img MLO
22 HIDDEN:=1
23 endef
24
25 define U-Boot/omap4_panda
26 NAME:=Pandaboard
27 endef
28
29 define U-Boot/am335x_evm
30 NAME:=AM335x EVM
31 endef
32
33 define U-Boot/omap3_overo
34 NAME:=Gumstix Overo
35 endef
36
37 define U-Boot/omap3_beagle
38 NAME:=BeagleBoard
39 endef
40
41 UBOOT_TARGETS:=omap4_panda am335x_evm omap3_overo omap3_beagle
42 UBOOT_CONFIGURE_VARS += USE_PRIVATE_LIBGCC=yes
43
44 $(eval $(call BuildPackage/U-Boot))