Skip to content

Commit

Permalink
utils/spidev_test: side-step build-system woes
Browse files Browse the repository at this point in the history
The spidev_test is build in phase2 even though it should be disabled.
My best guess is that we hit the same issue that I had with nu801.
The build-system thinks it's a tool that is necessary for
building the kernel.

In this case, the same fix (adding a dependency on the presence of
the module) could work in this case as well?

Fixes: bdaaf66 ("utils/spidev_test: build package directly from Linux")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
  • Loading branch information
chunkeey committed Jul 15, 2022
1 parent 50c232d commit f0c1d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/utils/spidev_test/Makefile
Expand Up @@ -19,7 +19,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/spidev-test
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+kmod-spi-dev @!IN_SDK
DEPENDS:=+PACKAGE_kmod-spi-dev:kmod-spi-dev @!IN_SDK
TITLE:=SPI testing utility
VERSION:=$(LINUX_VERSION)-$(PKG_RELEASE)
URL:=http://www.kernel.org
Expand Down

0 comments on commit f0c1d26

Please sign in to comment.