51f3425e3d
The avr32linux.org mirror has vanished and is replaced by a spam site that returns HTML pages for whatever URL you request from it. So the download helper thinks that download has succeeded, while actually it failed. Fortunately, there is still a mirror of the site alive, so we can use that one. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
33 lines
894 B
Makefile
33 lines
894 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
|
|
|
|
define GADGETFS_TEST_UNINSTALL_TARGET_CMDS
|
|
rm -f $(TARGET_DIR)/bin/gadgetfs-test
|
|
endef
|
|
|
|
define GADGETFS_TEST_CLEAN_CMDS
|
|
-$(MAKE) -C $(@D) $(GADGETFS_TEST_MAKEOPTS) clean
|
|
endef
|
|
|
|
$(eval $(generic-package))
|