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 BUILD_SUBTARGET
:=sama5
28 AT91BOOTSTRAP_IMAGE
:=at91bootstrap.bin
31 define AT91Bootstrap
/sama5d2_xplaineddf_uboot
32 TITLE
:=AT91Bootstrap for SAMA5D2 Xplained board
(SPI Flash
)
33 BUILD_DEVICES
:=at91-sama5d2_xplained
36 define AT91Bootstrap
/sama5d2_xplaineddf_qspi_uboot
37 TITLE
:=AT91Bootstrap for SAMA5D2 Xplained board
(QSPI Flash
)
38 BUILD_DEVICES
:=at91-sama5d2_xplained
41 define AT91Bootstrap
/sama5d2_xplainedsd_uboot
42 TITLE
:=AT91Bootstrap for SAMA5D2 Xplained board
(SDcard
/EMMC
)
43 BUILD_DEVICES
:=at91-sama5d2_xplained
46 define AT91Bootstrap
/sama5d3_xplainednf_uboot
47 TITLE
:=AT91Bootstrap for SAMA5D3 Xplained board
(Nand Flash
)
48 BUILD_DEVICES
:=at91-sama5d3_xplained
51 define AT91Bootstrap
/sama5d3_xplainedsd_uboot
52 TITLE
:=AT91Bootstrap for SAMA5D3 Xplained board
(SDcard
)
53 BUILD_DEVICES
:=at91-sama5d3_xplained
56 define AT91Bootstrap
/sama5d4_xplainednf_uboot_secure
57 TITLE
:=AT91Bootstrap for SAMA5D4 Xplained board
(Nand Flash
)
58 BUILD_DEVICES
:=at91-sama5d4_xplained
61 define AT91Bootstrap
/sama5d4_xplaineddf_uboot_secure
62 TITLE
:=AT91Bootstrap for SAMA5D4 Xplained board
(SPI Flash
)
63 BUILD_DEVICES
:=at91-sama5d4_xplained
66 define AT91Bootstrap
/sama5d4_xplainedsd_uboot_secure
67 TITLE
:=AT91Bootstrap for SAMA5D4 Xplained board
(SDcard
)
68 BUILD_DEVICES
:=at91-sama5d4_xplained
71 AT91BOOTSTRAP_TARGETS
:= \
72 sama5d2_xplaineddf_uboot \
73 sama5d2_xplaineddf_qspi_uboot \
74 sama5d2_xplainedsd_uboot \
75 sama5d3_xplainednf_uboot \
76 sama5d3_xplainedsd_uboot \
77 sama5d4_xplainednf_uboot_secure \
78 sama5d4_xplaineddf_uboot_secure \
79 sama5d4_xplainedsd_uboot_secure
82 +$(MAKE
) $(PKG_JOBS
) -C
$(PKG_BUILD_DIR
) \
83 CROSS_COMPILE
=$(TARGET_CROSS
)
86 $(eval
$(call BuildPackage
/AT91Bootstrap
))