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
|
|
|
|
2020-04-19 22:21:59 +00:00
|
|
|
PKG_VERSION:=2020.04
|
2013-08-22 19:28:06 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2020-04-19 22:21:59 +00:00
|
|
|
PKG_HASH:=fe732aaf037d9cc3c0909bad8362af366ae964bbdac6913a34081ff4ad565372
|
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
|
2018-05-23 07:15:52 +00:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
2013-08-22 19:28:06 +00:00
|
|
|
|
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
|
|
|
|
2018-05-23 07:15:52 +00:00
|
|
|
Build/Exports:=$(Host/Exports)
|
|
|
|
|
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))
|