c7f4b96471
Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
23 lines
675 B
Makefile
23 lines
675 B
Makefile
################################################################################
|
|
#
|
|
# at91dataflashboot
|
|
#
|
|
################################################################################
|
|
|
|
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))
|