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_SUBTARGET
:=sama5
34 BUILD_DEVICES
:=at91-sama5d2_xplained
37 define AT91Bootstrap
/sama5d2_xplaineddf_qspi_uboot
38 TITLE
:=AT91Bootstrap for SAMA5D2 Xplained board
(QSPI Flash
)
39 BUILD_SUBTARGET
:=sama5
40 BUILD_DEVICES
:=at91-sama5d2_xplained
43 define AT91Bootstrap
/sama5d2_xplainedsd_uboot
44 TITLE
:=AT91Bootstrap for SAMA5D2 Xplained board
(SDcard
/EMMC
)
45 BUILD_SUBTARGET
:=sama5
46 BUILD_DEVICES
:=at91-sama5d2_xplained
49 define AT91Bootstrap
/sama5d3_xplainednf_uboot
50 TITLE
:=AT91Bootstrap for SAMA5D3 Xplained board
(Nand Flash
)
51 BUILD_SUBTARGET
:=sama5
52 BUILD_DEVICES
:=at91-sama5d3_xplained
55 define AT91Bootstrap
/sama5d3_xplainedsd_uboot
56 TITLE
:=AT91Bootstrap for SAMA5D3 Xplained board
(SDcard
)
57 BUILD_SUBTARGET
:=sama5
58 BUILD_DEVICES
:=at91-sama5d3_xplained
61 define AT91Bootstrap
/sama5d4_xplainednf_uboot_secure
62 TITLE
:=AT91Bootstrap for SAMA5D4 Xplained board
(Nand Flash
)
63 BUILD_SUBTARGET
:=sama5
64 BUILD_DEVICES
:=at91-sama5d4_xplained
67 define AT91Bootstrap
/sama5d4_xplaineddf_uboot_secure
68 TITLE
:=AT91Bootstrap for SAMA5D4 Xplained board
(SPI Flash
)
69 BUILD_SUBTARGET
:=sama5
70 BUILD_DEVICES
:=at91-sama5d4_xplained
73 define AT91Bootstrap
/sama5d4_xplainedsd_uboot_secure
74 TITLE
:=AT91Bootstrap for SAMA5D4 Xplained board
(SDcard
)
75 BUILD_SUBTARGET
:=sama5
76 BUILD_DEVICES
:=at91-sama5d4_xplained
79 AT91BOOTSTRAP_TARGETS
:= \
80 sama5d2_xplaineddf_uboot \
81 sama5d2_xplaineddf_qspi_uboot \
82 sama5d2_xplainedsd_uboot \
83 sama5d3_xplainednf_uboot \
84 sama5d3_xplainedsd_uboot \
85 sama5d4_xplainednf_uboot_secure \
86 sama5d4_xplaineddf_uboot_secure \
87 sama5d4_xplainedsd_uboot_secure
90 +$(MAKE
) $(PKG_JOBS
) -C
$(PKG_BUILD_DIR
) \
91 CROSS_COMPILE
=$(TARGET_CROSS
)
94 $(eval
$(call BuildPackage
/AT91Bootstrap
))