2 # Copyright (C) 2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
9 include $(INCLUDE_DIR
)/kernel.mk
11 PKG_VERSION
:=2020.10-rc4
14 PKG_HASH
:=0a7bdd2c7df2c14daf2730fcf3277fd917aadfaae935529e29c7412314bbf260
16 include $(INCLUDE_DIR
)/u-boot.mk
17 include $(INCLUDE_DIR
)/package.mk
18 include $(INCLUDE_DIR
)/host-build.mk
25 define U-Boot
/clearfog
26 NAME
:=SolidRun ClearFog A1
27 BUILD_DEVICES
:=solidrun_clearfog-base-a1 solidrun_clearfog-pro-a1
28 BUILD_SUBTARGET
:=cortexa9
29 UBOOT_IMAGE
:=u-boot-spl.kwb
34 BUILD_DEVICES
:=kobol_helios4
35 BUILD_SUBTARGET
:=cortexa9
36 UBOOT_IMAGE
:=u-boot-spl.kwb
39 define U-Boot
/espressobin
40 NAME
:=Marvell ESPRESSObin
41 BUILD_DEVICES
:=globalscale_espressobin globalscale_espressobin-v7
42 BUILD_SUBTARGET
:=cortexa53
43 UBOOT_CONFIG
:=mvebu_espressobin-88f3720
46 define U-Boot
/espressobin-emmc
47 NAME
:=Marvell ESPRESSObin
48 BUILD_DEVICES
:=globalscale_espressobin-emmc globalscale_espressobin-v7-emmc
49 BUILD_SUBTARGET
:=cortexa53
50 UBOOT_CONFIG
:=mvebu_espressobin-88f3720
51 UBOOT_MAKE_FLAGS
+=DEVICE_TREE
=armada-3720-espressobin-emmc
56 BUILD_DEVICES
:=methode_udpu
57 BUILD_SUBTARGET
:=cortexa53
67 Build
/Exports
:=$(Host
/Exports
)
69 define Build
/Configure
70 # enable additional options beyond <device>_defconfig
71 echo CONFIG_NET_RANDOM_ETHADDR
=y
>> $(PKG_BUILD_DIR
)/configs
/$(UBOOT_CONFIG
)_defconfig
72 echo CONFIG_CMD_SETEXPR
=y
>> $(PKG_BUILD_DIR
)/configs
/$(UBOOT_CONFIG
)_defconfig
74 $(call Build
/Configure
/U-Boot
)
77 define Build
/InstallDev
78 $(INSTALL_DIR
) $(STAGING_DIR_IMAGE
)
79 $(CP
) $(PKG_BUILD_DIR
)/$(UBOOT_IMAGE
) $(STAGING_DIR_IMAGE
)/$(BUILD_VARIANT
)-$(UBOOT_IMAGE
)
82 $(eval
$(call BuildPackage
/U-Boot
))