mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 05:53:30 +08:00
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>
26 lines
759 B
Makefile
26 lines
759 B
Makefile
################################################################################
|
|
#
|
|
# gadgetfs-test
|
|
#
|
|
################################################################################
|
|
|
|
GADGETFS_TEST_SOURCE = gadgetfs-test.tar.bz2
|
|
GADGETFS_TEST_SITE = http://mirror.egtvedt.no/avr32linux.org/twiki/pub/Main/GadgetFsTest
|
|
|
|
GADGETFS_TEST_MAKEOPTS = CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)"
|
|
|
|
ifeq ($(BR2_PACKAGE_GADGETFS_TEST_USE_AIO),y)
|
|
GADGETFS_TEST_DEPENDENCIES = libaio
|
|
GADGETFS_TEST_MAKEOPTS += USE_AIO=y
|
|
endif
|
|
|
|
define GADGETFS_TEST_BUILD_CMDS
|
|
$(MAKE) -C $(@D) $(GADGETFS_TEST_MAKEOPTS)
|
|
endef
|
|
|
|
define GADGETFS_TEST_INSTALL_TARGET_CMDS
|
|
$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) prefix=/usr install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|