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