1 ################################################################################
5 ################################################################################
7 S500_BOOTLOADER_VERSION
= a8d7fa1d9a7f353ec4613febf30f4ca99a10a106
8 S500_BOOTLOADER_SITE
= $(call github
,xapp-le
,owl
,$(S500_BOOTLOADER_VERSION
))
9 S500_BOOTLOADER_LICENSE
= PROPRIETARY
10 S500_BOOTLOADER_INSTALL_TARGET
= NO
11 S500_BOOTLOADER_INSTALL_IMAGES
= YES
13 S500_BOOTLOADER_BOARD
= $(call qstrip
,$(BR2_TARGET_S500_BOOTLOADER_BOARD
))
15 define S500_BOOTLOADER_BUILD_CMDS
16 cd
$(@D
) && .
/tools
/utils
/bootloader_pack \
17 s500
/bootloader
/bootloader.bin \
18 s500
/boards
/$(S500_BOOTLOADER_BOARD
)/bootloader.ini \
22 define S500_BOOTLOADER_INSTALL_IMAGES_CMDS
23 $(INSTALL
) -m
0644 -D
$(@D
)/s500-bootloader.bin \
24 $(BINARIES_DIR
)/s500-bootloader.bin
27 $(eval
$(generic-package
))
29 ifeq ($(BR2_TARGET_S500_BOOTLOADER
)$(BR_BUILDING
),yy
)
30 # we NEED a board name
31 ifeq ($(S500_BOOTLOADER_BOARD
),)
32 $(error No s500-bootloader board specified. Check your BR2_TARGET_S500_BOOTLOADER settings
)