e1502ebc0c
Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
26 lines
638 B
Makefile
26 lines
638 B
Makefile
RT_TESTS_SITE = http://snapshot.debian.org/archive/debian/20111202T222101Z/pool/main/r/rt-tests/
|
|
RT_TESTS_VERSION = 0.83
|
|
RT_TESTS_SOURCE = rt-tests_$(RT_TESTS_VERSION).orig.tar.gz
|
|
|
|
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
|
RT_TESTS_DEPENDENCIES = python
|
|
endif
|
|
|
|
define RT_TESTS_BUILD_CMDS
|
|
$(MAKE) -C $(@D) \
|
|
CC="$(TARGET_CC)" \
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
prefix=/usr
|
|
endef
|
|
|
|
define RT_TESTS_INSTALL_TARGET_CMDS
|
|
$(MAKE) -C $(@D) \
|
|
DESTDIR="$(TARGET_DIR)" \
|
|
prefix=/usr \
|
|
$(if $(BR2_PACKAGE_PYTHON),HASPYTHON=1 PYLIB=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages/) \
|
|
install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|
|
|