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
|
2017-01-25 06:31:01 +00:00
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
2013-08-22 19:28:06 +00:00
|
|
|
|
2018-02-10 13:05:10 +00:00
|
|
|
PKG_VERSION:=2017.11
|
2013-08-22 19:28:06 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2018-02-10 13:05:10 +00:00
|
|
|
PKG_HASH:=6a018fd3caf58f3dcfa23ee989a82bd35df03af71872b9dca8c6d758a0d26c05
|
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
|
2017-01-25 06:31:01 +00:00
|
|
|
DEFAULT:=y
|
|
|
|
HIDDEN:=1
|
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
|
|
|
|
2018-02-17 14:38:26 +00:00
|
|
|
UBOOT_MAKE_FLAGS += $(UBOOT_IMAGE)
|
2017-01-25 06:31:01 +00:00
|
|
|
|
|
|
|
define Build/InstallDev
|
2017-01-27 15:26:56 +00:00
|
|
|
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/$(UBOOT_IMAGE) $(STAGING_DIR_IMAGE)/$(BUILD_VARIANT)-$(UBOOT_IMAGE)
|
2013-08-22 19:28:06 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-23 11:15:19 +00:00
|
|
|
$(eval $(call BuildPackage/U-Boot))
|