Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
duo-buildroot-sdk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
duo-buildroot-sdk
Commits
84d6b72e
Commit
84d6b72e
authored
Sep 04, 2023
by
carbon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
buildroot: enable spidev_test
parent
b342d865
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
484 additions
and
3 deletions
+484
-3
buildroot-2021.05/configs/milkv_duo_musl_riscv64_defconfig
buildroot-2021.05/configs/milkv_duo_musl_riscv64_defconfig
+1
-0
buildroot-2021.05/dl/spidev_test/.lock
buildroot-2021.05/dl/spidev_test/.lock
+0
-0
buildroot-2021.05/dl/spidev_test/spidev_test.c?id=v5.4
buildroot-2021.05/dl/spidev_test/spidev_test.c?id=v5.4
+480
-0
buildroot-2021.05/package/spidev_test/spidev_test.hash
buildroot-2021.05/package/spidev_test/spidev_test.hash
+1
-1
buildroot-2021.05/package/spidev_test/spidev_test.mk
buildroot-2021.05/package/spidev_test/spidev_test.mk
+2
-2
No files found.
buildroot-2021.05/configs/milkv_duo_musl_riscv64_defconfig
View file @
84d6b72e
...
@@ -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
...
...
buildroot-2021.05/dl/spidev_test/.lock
0 → 100644
View file @
84d6b72e
buildroot-2021.05/dl/spidev_test/spidev_test.c?id=v5.4
0 → 100644
View file @
84d6b72e
This diff is collapsed.
Click to expand it.
buildroot-2021.05/package/spidev_test/spidev_test.hash
View file @
84d6b72e
# 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
buildroot-2021.05/package/spidev_test/spidev_test.mk
View file @
84d6b72e
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment