aboutsummaryrefslogtreecommitdiffstats
path: root/boot/at91dataflashboot/at91dataflashboot.mk
blob: 6c0188a1e91f0d740c5f972b4257dca2850882a8 (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 $(call GENTARGETS))