2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-07-28 17:30:20 +02:00
|
|
|
#
|
|
|
|
# gadgetfs-test
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2013-07-20 08:52:43 +02:00
|
|
|
GADGETFS_TEST_SOURCE = gadgetfs-test.tar.bz2
|
2014-07-31 10:46:58 +02:00
|
|
|
GADGETFS_TEST_SITE = http://mirror.egtvedt.no/avr32linux.org/twiki/pub/Main/GadgetFsTest
|
2007-07-28 17:30:20 +02:00
|
|
|
|
2010-09-26 09:14:02 +02:00
|
|
|
GADGETFS_TEST_MAKEOPTS = CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)"
|
2007-07-28 17:30:20 +02:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GADGETFS_TEST_USE_AIO),y)
|
2010-09-26 09:14:02 +02:00
|
|
|
GADGETFS_TEST_DEPENDENCIES = libaio
|
2014-01-16 09:09:30 +01:00
|
|
|
GADGETFS_TEST_MAKEOPTS += USE_AIO=y
|
2007-07-28 17:30:20 +02:00
|
|
|
endif
|
|
|
|
|
2010-09-26 09:14:02 +02:00
|
|
|
define GADGETFS_TEST_BUILD_CMDS
|
|
|
|
$(MAKE) -C $(@D) $(GADGETFS_TEST_MAKEOPTS)
|
|
|
|
endef
|
2007-07-28 17:30:20 +02:00
|
|
|
|
2010-09-26 09:14:02 +02:00
|
|
|
define GADGETFS_TEST_INSTALL_TARGET_CMDS
|
|
|
|
$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) prefix=/usr install
|
|
|
|
endef
|
2007-07-28 17:30:20 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|