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
:=04efa5500d60a0211d14b6ee60df7ce0a828704d
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 BUILD_SUBTARGET
:=sama5
29 AT91BOOTSTRAP_IMAGE
:=at91bootstrap.bin
32 define AT91Bootstrap
/sama5d2_xplaineddf_uboot
33 TITLE
:=AT91Bootstrap for SAMA5D2 Xplained board
(SPI Flash
)
34 BUILD_DEVICES
:=at91-sama5d2_xplained
37 define AT91Bootstrap
/sama5d2_xplaineddf_qspi_uboot
38 TITLE
:=AT91Bootstrap for SAMA5D2 Xplained board
(QSPI Flash
)
39 BUILD_DEVICES
:=at91-sama5d2_xplained
42 define AT91Bootstrap
/sama5d2_xplainedsd_uboot
43 TITLE
:=AT91Bootstrap for SAMA5D2 Xplained board
(SDcard
/EMMC
)
44 BUILD_DEVICES
:=at91-sama5d2_xplained
47 define AT91Bootstrap
/sama5d3_xplainednf_uboot
48 TITLE
:=AT91Bootstrap for SAMA5D3 Xplained board
(Nand Flash
)
49 BUILD_DEVICES
:=at91-sama5d3_xplained
52 define AT91Bootstrap
/sama5d3_xplainedsd_uboot
53 TITLE
:=AT91Bootstrap for SAMA5D3 Xplained board
(SDcard
)
54 BUILD_DEVICES
:=at91-sama5d3_xplained
57 define AT91Bootstrap
/sama5d4_xplainednf_uboot_secure
58 TITLE
:=AT91Bootstrap for SAMA5D4 Xplained board
(Nand Flash
)
59 BUILD_DEVICES
:=at91-sama5d4_xplained
62 define AT91Bootstrap
/sama5d4_xplaineddf_uboot_secure
63 TITLE
:=AT91Bootstrap for SAMA5D4 Xplained board
(SPI Flash
)
64 BUILD_DEVICES
:=at91-sama5d4_xplained
67 define AT91Bootstrap
/sama5d4_xplainedsd_uboot_secure
68 TITLE
:=AT91Bootstrap for SAMA5D4 Xplained board
(SDcard
)
69 BUILD_DEVICES
:=at91-sama5d4_xplained
72 AT91BOOTSTRAP_TARGETS
:= \
73 sama5d2_xplaineddf_uboot \
74 sama5d2_xplaineddf_qspi_uboot \
75 sama5d2_xplainedsd_uboot \
76 sama5d3_xplainednf_uboot \
77 sama5d3_xplainedsd_uboot \
78 sama5d4_xplainednf_uboot_secure \
79 sama5d4_xplaineddf_uboot_secure \
80 sama5d4_xplainedsd_uboot_secure
83 +$(MAKE
) $(PKG_JOBS
) -C
$(PKG_BUILD_DIR
) \
84 CROSS_COMPILE
=$(TARGET_CROSS
)
87 $(eval
$(call BuildPackage
/AT91Bootstrap
))