projects
/
lede-git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
broadcom-wl: fix compile with kernel 4.9
[lede-git/.git]
/
package
/
utils
/
spidev_test
/
Makefile
diff --git
a/package/utils/spidev_test/Makefile
b/package/utils/spidev_test/Makefile
index 631ef0dd2407628ceb479c94961a1a50d8856019..b7c5227f91da22b220dc84154ab9ba20dd80cb07 100644
(file)
--- a/
package/utils/spidev_test/Makefile
+++ b/
package/utils/spidev_test/Makefile
@@
-27,21
+27,9
@@
define Package/spidev-test/description
SPI testing utility.
endef
SPI testing utility.
endef
-define Build/Prepare
-endef
-
-# requires 214-spidev_h_portability.patch
-# or linux/ioctl.h include on musl
define Build/Compile
define Build/Compile
-
-ifneq ($(CONFIG_LINUX_3_18)$(CONFIG_LINUX_4_1)$(CONFIG_LINUX_4_4),y)
$(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/spidev_test \
$(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/spidev_test \
- $(LINUX_DIR)/tools/spi/spidev_test.c
-else
- $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/spidev_test \
- $(LINUX_DIR)/Documentation/spi/spidev_test.c
-endif
-
+ $(PKG_BUILD_DIR)/spidev_test.c
endef
define Package/spidev-test/install
endef
define Package/spidev-test/install