kumquat-buildroot/boot/at91dataflashboot/at91dataflashboot.mk

23 lines
657 B
Makefile
Raw Normal View History

2007-07-17 14:19:56 +02:00
#############################################################
#
# DataFlashBoot
#
#############################################################
AT91DATAFLASHBOOT_VERSION = 1.05
AT91DATAFLASHBOOT_SOURCE = DataflashBoot-$(AT91DATAFLASHBOOT_VERSION).tar.bz2
AT91DATAFLASHBOOT_SITE = ftp://www.at91.com/pub/buildroot/
2007-07-17 14:19:56 +02:00
AT91DATAFLASHBOOT_INSTALL_TARGET = NO
AT91DATAFLASHBOOT_INSTALL_IMAGES = YES
2007-07-17 14:19:56 +02:00
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
2007-07-17 14:19:56 +02:00
$(eval $(call GENTARGETS,boot,at91dataflashboot))