mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-07 16:10:37 -09:00
The previous version bump 8f52d4183e ("package/rt-tests: bump to
version 2.8") was using the latest release, so the URL was updated to
remove the "older" subdirectory.
The URL was:
https://www.kernel.org/pub/linux/utils/rt-tests/rt-tests-2.8.tar.xz
On the 01/07/2025 a new rt-tests release was published (2.9), so the
2.8 archive was moved to "older" subdirectory and once again breaking
existing packaging downloads.
The "new" URL is now:
https://www.kernel.org/pub/linux/utils/rt-tests/older/rt-tests-2.8.tar.xz
This situation was discussed upstream in [1].
[1] https://lore.kernel.org/linux-rt-users/20241228114346.6020d6b0@windsurf/
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/10984686708 (TestRtTests)
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
[Julien: add comment in commit log about link [1]]
Signed-off-by: Julien Olivain <ju.o@free.fr>
32 lines
844 B
Makefile
32 lines
844 B
Makefile
################################################################################
|
|
#
|
|
# rt-tests
|
|
#
|
|
################################################################################
|
|
|
|
RT_TESTS_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/rt-tests/older
|
|
RT_TESTS_SOURCE = rt-tests-$(RT_TESTS_VERSION).tar.xz
|
|
RT_TESTS_VERSION = 2.8
|
|
RT_TESTS_LICENSE = GPL-2.0+
|
|
RT_TESTS_LICENSE_FILES = COPYING
|
|
|
|
RT_TESTS_DEPENDENCIES = numactl
|
|
RT_TESTS_CPE_ID_VENDOR = kernel
|
|
|
|
define RT_TESTS_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
|
CC="$(TARGET_CC)" \
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
prefix=/usr
|
|
endef
|
|
|
|
define RT_TESTS_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
|
DESTDIR="$(TARGET_DIR)" \
|
|
prefix=/usr \
|
|
PYLIB="$(if $(BR2_PACKAGE_PYTHON3),/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/)" \
|
|
install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|