2013-08-22 19:28:06 +00:00
|
|
|
#
|
2016-01-19 21:50:11 +00:00
|
|
|
# Copyright (C) 2013-2016 OpenWrt.org
|
2013-08-22 19:28:06 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2016-01-19 21:50:11 +00:00
|
|
|
PKG_VERSION:=2016.01
|
2013-08-22 19:28:06 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2016-12-16 16:32:10 +00:00
|
|
|
PKG_HASH:=e5792fba9399d9804aa2ef667f14ff771e2cdece72367d340250265bf095a5d5
|
2013-08-22 19:28:06 +00:00
|
|
|
|
2017-01-23 11:15:19 +00:00
|
|
|
include $(INCLUDE_DIR)/u-boot.mk
|
2013-08-22 19:28:06 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2017-01-23 11:15:19 +00:00
|
|
|
define U-Boot/Default
|
|
|
|
BUILD_TARGET:=mxs
|
|
|
|
UBOOT_IMAGE:=u-boot.sb
|
2013-08-22 19:28:06 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-23 11:15:19 +00:00
|
|
|
define U-Boot/mx23_olinuxino
|
|
|
|
NAME:=Olinuxino i.MX233
|
2015-03-26 22:39:06 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-23 11:15:19 +00:00
|
|
|
define U-Boot/duckbill
|
|
|
|
NAME:=I2SE Duckbill
|
2013-08-22 19:28:06 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-23 11:15:19 +00:00
|
|
|
UBOOT_TARGETS := \
|
2015-03-26 22:39:06 +00:00
|
|
|
mx23_olinuxino \
|
|
|
|
duckbill
|
2013-08-22 19:28:06 +00:00
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
2015-09-21 21:04:24 +00:00
|
|
|
CROSS_COMPILE=$(TARGET_CROSS) $(UBOOT_IMAGE)
|
2013-08-22 19:28:06 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-23 11:15:19 +00:00
|
|
|
$(eval $(call BuildPackage/U-Boot))
|