Commit 84d6b72e authored by carbon's avatar carbon

buildroot: enable spidev_test

parent b342d865
...@@ -469,6 +469,7 @@ BR2_TARGET_ROOTFS_EXT2_EXTRA_INODES=0 ...@@ -469,6 +469,7 @@ BR2_TARGET_ROOTFS_EXT2_EXTRA_INODES=0
# #
BR2_TARGET_ROOTFS_EXT2_EXTRA_BLOCKS=0 BR2_TARGET_ROOTFS_EXT2_EXTRA_BLOCKS=0
BR2_PACKAGE_SPIDEV_TEST=y
BR2_PACKAGE_STRACE=y BR2_PACKAGE_STRACE=y
......
This diff is collapsed.
# Locally calculated # Locally calculated
sha256 80471c330d8c0bf5ba6479c434a54a54bdd2dc59a703b9c76c2541ec04cfb8c3 spidev_test.c?id=v3.0 sha256 80471c330d8c0bf5ba6479c434a54a54bdd2dc59a703b9c76c2541ec04cfb8c3 spidev_test.c?id=v3.0
sha256 3cf76b15d9a8644f3f5cbc0387cc02a7d4a392ade39788cbc6367cce98552e2f spidev_test.c?id=v4.10 sha256 9481cbdc8e8bcef371e055f1da63fceca6ca7cefaf7b74dac5173f1f8c294734 spidev_test.c?id=v5.4
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
# Note that the location of spidev_test.c changes from v4.5 onwards. # Note that the location of spidev_test.c changes from v4.5 onwards.
ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15),y) ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15),y)
SPIDEV_TEST_VERSION = 4.10 SPIDEV_TEST_VERSION = 5.4
SPIDEV_TEST_PATH = tools/spi SPIDEV_TEST_PATH = tools/spi
else else
SPIDEV_TEST_VERSION = 3.0 SPIDEV_TEST_VERSION = 3.0
...@@ -36,7 +36,7 @@ define SPIDEV_TEST_EXTRACT_CMDS ...@@ -36,7 +36,7 @@ define SPIDEV_TEST_EXTRACT_CMDS
endef endef
define SPIDEV_TEST_BUILD_CMDS define SPIDEV_TEST_BUILD_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CC) $(TARGET_CFLAGS) \ $(TARGET_MAKE_ENV) $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
-o $(@D)/spidev_test $(@D)/spidev_test.c -o $(@D)/spidev_test $(@D)/spidev_test.c
endef endef
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment