2 # Copyright (C) 2016 Microchip Technology Inc.
3 # <Sandeepsheriker.mallikarjun@microchip.com>
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
11 PKG_NAME:=at91bootstrap
16 PKG_SOURCE_URL:=https://github.com/linux4sam/at91bootstrap.git
17 PKG_SOURCE_VERSION:=3d33a4e0707c61007a5278f6620453502f7500db
20 $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
22 include at91bootstrap.mk
23 include $(INCLUDE_DIR)/package.mk
25 define AT91Bootstrap/Default
27 AT91BOOTSTRAP_IMAGE:=at91bootstrap.bin
30 define at91bootstrap/sama5d2_xplaineddf_uboot
31 TITLE:=AT91Bootstrap for the SAMA5D3 Xplained board (SPI Flash)
32 BUILD_SUBTARGET:=sama5
33 BUILD_DEVICES:=at91-sama5d3_xplained
36 define at91bootstrap/sama5d2_xplaineddf_qspi_uboot
37 TITLE:=AT91Bootstrap for the SAMA5D2 Xplained board (QSPI Flash)
38 BUILD_SUBTARGET:=sama5
39 BUILD_DEVICES:=at91-sama5d2_xplained
42 define at91bootstrap/sama5d2_xplainedsd_uboot
43 TITLE:=AT91Bootstrap for the SAMA5D2 Xplained board (SDcard/EMMC)
44 BUILD_SUBTARGET:=sama5
45 BUILD_DEVICES:=at91-sama5d2_xplained
48 define at91bootstrap/sama5d3_xplainednf_uboot
49 TITLE:=AT91Bootstrap for the SAMA5D3 Xplained board (Nand Flash)
50 BUILD_SUBTARGET:=sama5
51 BUILD_DEVICES:=at91-sama5d3_xplained
54 define at91bootstrap/sama5d3_xplainedsd_uboot
55 TITLE:=AT91Bootstrap for the SAMA5D3 Xplained board (SDcard)
56 BUILD_SUBTARGET:=sama5
57 BUILD_DEVICES:=at91-sama5d3_xplained
60 define at91bootstrap/sama5d4_xplainednf_uboot
61 TITLE:=AT91Bootstrap for the SAMA5D4 Xplained board (Nand Flash)
62 BUILD_SUBTARGET:=sama5
63 BUILD_DEVICES:=at91-sama5d4_xplained
66 define at91bootstrap/sama5d4_xplaineddf_uboot_secure
67 TITLE:=AT91Bootstrap for the SAMA5D4 Xplained board (SPI Flash)
68 BUILD_SUBTARGET:=sama5
69 BUILD_DEVICES:=at91-sama5d4_xplained
72 define at91bootstrap/sama5d4_xplainedsd_uboot_secure
73 TITLE:=AT91Bootstrap for the SAMA5D4 Xplained board (SDcard)
74 BUILD_SUBTARGET:=sama5
75 BUILD_DEVICES:=at91-sama5d4_xplained
78 AT91BOOTSTRAP_TARGETS := \
79 sama5d2_xplaineddf_uboot \
80 sama5d2_xplaineddf_qspi_uboot \
81 sama5d2_xplainedsd_uboot \
82 sama5d3_xplainednf_uboot \
83 sama5d3_xplainedsd_uboot \
84 sama5d4_xplainednf_uboot_secure \
85 sama5d4_xplaineddf_uboot_secure \
86 sama5d4_xplainedsd_uboot_secure
89 +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
90 CROSS_COMPILE=$(TARGET_CROSS)
93 $(eval $(call BuildPackage/AT91Bootstrap))