summaryrefslogtreecommitdiff
path: root/boot/at91dataflashboot/at91dataflashboot.mk
blob: 14fb8c54d3a0d48ee32ec4669a4fd5afff5653aa (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,boot,at91dataflashboot))