summaryrefslogtreecommitdiffstats
path: root/boot/at91dataflashboot/at91dataflashboot.mk
blob: 10f54a1e545d91c36d4d8278f44586511075b41e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#############################################################
#
# DataFlashBoot
#
#############################################################

AT91DATAFLASHBOOT_VERSION = 1.05
AT91DATAFLASHBOOT_SOURCE = DataflashBoot-$(AT91DATAFLASHBOOT_VERSION).tar.bz2
AT91DATAFLASHBOOT_SITE = ftp://www.at91.com/pub/buildroot/

AT91DATAFLASHBOOT_INSTALL_TARGET = NO
AT91DATAFLASHBOOT_INSTALL_IMAGES = YES

define AT91DATAFLASHBOOT_BUILD_CMDS
	make -C $(@D) CROSS_COMPILE=$(TARGET_CROSS)
endef

define AT91DATAFLASHBOOT_INSTALL_IMAGES_CMDS
	cp $(@D)/DataflashBoot-$(AT91DATAFLASHBOOT_VERSION).bin $(BINARIES_DIR)
endef

$(eval $(generic-package))