Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 80471c330d8c0bf5ba6479c434a54a54bdd2dc59a703b9c76c2541ec04cfb8c3 spidev_test.c?id=v3.0
|
||||
sha256 57fa6c534e0b7b4d234075e18bc89e2f3c9fc4ecc27e80f349a8057708e0de46 spidev_test.c?id=v3.15
|
||||
sha256 3cf76b15d9a8644f3f5cbc0387cc02a7d4a392ade39788cbc6367cce98552e2f spidev_test.c?id=v4.10
|
||||
|
||||
@@ -4,17 +4,23 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# Build the latest version that is compatible with the toolchain's kernel headers
|
||||
# v3.15+ requires SPI_TX_QUAD/SPI_RX_QUAD to build
|
||||
# Normally kernel headers can't be newer than kernel so switch based on that.
|
||||
# If you need quad-pumped spi support you need to upgrade your toolchain.
|
||||
# Note that the location of spidev_test.c changes from v4.5 onwards.
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15),y)
|
||||
SPIDEV_TEST_VERSION = v3.15
|
||||
SPIDEV_TEST_VERSION = v4.10
|
||||
SPIDEV_TEST_PATH = tools/spi
|
||||
else
|
||||
SPIDEV_TEST_VERSION = v3.0
|
||||
SPIDEV_TEST_PATH = Documentation/spi
|
||||
endif
|
||||
SPIDEV_TEST_SITE = http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/Documentation/spi
|
||||
|
||||
SPIDEV_TEST_SITE = http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/$(SPIDEV_TEST_PATH)
|
||||
SPIDEV_TEST_SOURCE = spidev_test.c?id=$(SPIDEV_TEST_VERSION)
|
||||
SPIDEV_TEST_LICENSE = GPLv2
|
||||
SPIDEV_TEST_LICENSE = GPL-2.0
|
||||
|
||||
# musl libc requires linux/ioctl.h for _IOC_SIZEBITS. Do a sed patch to keep
|
||||
# compatibility with different spidev_test.c versions that we support.
|
||||
@@ -26,7 +32,7 @@ endef
|
||||
SPIDEV_TEST_POST_PATCH_HOOKS += SPIDEV_ADD_LINUX_IOCTL
|
||||
|
||||
define SPIDEV_TEST_EXTRACT_CMDS
|
||||
cp $(BR2_DL_DIR)/$(SPIDEV_TEST_SOURCE) $(@D)/spidev_test.c
|
||||
cp $(DL_DIR)/$(SPIDEV_TEST_SOURCE) $(@D)/spidev_test.c
|
||||
endef
|
||||
|
||||
define SPIDEV_TEST_BUILD_CMDS
|
||||
|
||||
Reference in New Issue
Block a user