66459df65280b7b33901ef6af62bbb1ebba0e7aa
[openwrt/openwrt.git] / package / boot / uboot-mxs / Makefile
1 #
2 # Copyright (C) 2013-2016 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:=2016.01
11 PKG_RELEASE:=1
12
13 PKG_HASH:=e5792fba9399d9804aa2ef667f14ff771e2cdece72367d340250265bf095a5d5
14
15 include $(INCLUDE_DIR)/u-boot.mk
16 include $(INCLUDE_DIR)/package.mk
17
18 define U-Boot/Default
19 BUILD_TARGET:=mxs
20 UBOOT_IMAGE:=u-boot.sb
21 endef
22
23 define U-Boot/mx23_olinuxino
24 NAME:=Olinuxino i.MX233
25 endef
26
27 define U-Boot/duckbill
28 NAME:=I2SE Duckbill
29 endef
30
31 UBOOT_TARGETS := \
32 mx23_olinuxino \
33 duckbill
34
35 define Build/Compile
36 $(MAKE) -C $(PKG_BUILD_DIR) \
37 CROSS_COMPILE=$(TARGET_CROSS) $(UBOOT_IMAGE)
38 endef
39
40 $(eval $(call BuildPackage/U-Boot))