Skip to content

Commit

Permalink
spi: Move spi code from Documentation to tools
Browse files Browse the repository at this point in the history
Jon Corbet requested this code moved with the last changeset,
https://lkml.org/lkml/2015/3/1/144,
but the patch was not applied because it missed the Makefile.
Moved spidev_test, spidev_fdx and their Makefile infrastructure.

Signed-off-by: Joshua Clayton <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
d4ddi0 authored and broonie committed Nov 23, 2015
1 parent 8005c49 commit 5eca4d8
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Documentation/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
subdir-y := accounting auxdisplay blackfin connector \
filesystems filesystems ia64 laptops mic misc-devices \
networking pcmcia prctl ptp spi timers vDSO video4linux \
networking pcmcia prctl ptp timers vDSO video4linux \
watchdog
8 changes: 0 additions & 8 deletions Documentation/spi/Makefile

This file was deleted.

7 changes: 4 additions & 3 deletions tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ help:
@echo ' lguest - a minimal 32-bit x86 hypervisor'
@echo ' perf - Linux performance measurement and analysis tool'
@echo ' selftests - various kernel selftests'
@echo ' spi - spi tools'
@echo ' turbostat - Intel CPU idle stats and freq reporting tool'
@echo ' usb - USB testing tools'
@echo ' virtio - vhost test module'
Expand Down Expand Up @@ -48,7 +49,7 @@ acpi: FORCE
cpupower: FORCE
$(call descend,power/$@)

cgroup firewire hv guest usb virtio vm net iio: FORCE
cgroup firewire hv guest spi usb virtio vm net iio: FORCE
$(call descend,$@)

liblockdep: FORCE
Expand Down Expand Up @@ -109,7 +110,7 @@ acpi_clean:
cpupower_clean:
$(call descend,power/cpupower,clean)

cgroup_clean hv_clean firewire_clean lguest_clean usb_clean virtio_clean vm_clean net_clean iio_clean:
cgroup_clean hv_clean firewire_clean lguest_clean spi_clean usb_clean virtio_clean vm_clean net_clean iio_clean:
$(call descend,$(@:_clean=),clean)

liblockdep_clean:
Expand All @@ -134,7 +135,7 @@ freefall_clean:
$(call descend,laptop/freefall,clean)

clean: acpi_clean cgroup_clean cpupower_clean hv_clean firewire_clean lguest_clean \
perf_clean selftests_clean turbostat_clean usb_clean virtio_clean \
perf_clean selftests_clean turbostat_clean spi_clean usb_clean virtio_clean \
vm_clean net_clean iio_clean x86_energy_perf_policy_clean tmon_clean \
freefall_clean

Expand Down
4 changes: 4 additions & 0 deletions tools/spi/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
all: spidev_test spidev_fdx

clean:
$(RM) spidev_test spidev_fdx
File renamed without changes.
File renamed without changes.

0 comments on commit 5eca4d8

Please sign in to comment.