mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 09:44:18 +08:00
b88f55774f
A fairly quiet release for the SPI subsystem: - Move to using IDR for allocating bus numbers. - Modernisation of the ep93xx driver, removing a lot of open coding and using the framework more. - The tools have been moved to use the standard tools build system and an install target added (there will be a fairly trivial conflict with tip resulting from the changes in the main tools Makefile). - A refactoring of the Qualcomm QUP driver which enables new variants to be supported. - Explicit support for the Freescale i.MX53 and i.MX6 SPI, Renesas R-Car H3 and Rockchip RV1108 controllers. There's also a trivial add/add conflict in spi.c with the ACPI tree adding a header for some Apple support and the IDR code needing a header too. -----BEGIN PGP SIGNATURE----- iQFHBAABCAAxFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlmtgGYTHGJyb29uaWVA a2VybmVsLm9yZwAKCRAk1otyXVSH0IwAB/9U/s75RgZN+w/IZneex3gD2+mnNxTV SiWWlR66580vbXsh7lgzTtANrDKfYTsYGP3JS7vjhsegBlzcT4M5OMyJZTcCi40a JF0edDFnkqNM96LubJVnrIJj4KHL1Zx+FICIXItOSBZh6ECgI92KAfAbfQhLdB10 BtNdlsQMzcTygLqf2/N6W7u/6yYBnUuaaNeu+j4QsF1pE9L/5kt3lLXxv2DTL3cA vncqu/ndxIjCKLpIGjMOrvAlLCKmZdIxX3Y/d1XJSxyG3vJj30kEvxATZ15sKln8 gXOnmWF2JgBcxEHxzsTGuVZpXXblu7uiicniglP0geC9dMboJnky993j =tbQ9 -----END PGP SIGNATURE----- Merge tag 'spi-v4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi Pull spi updates from Mark Brown: "A fairly quiet release for the SPI subsystem: - Move to using IDR for allocating bus numbers - Modernisation of the ep93xx driver, removing a lot of open coding and using the framework more - The tools have been moved to use the standard tools build system and an install target added (there will be a fairly trivial conflict with tip resulting from the changes in the main tools Makefile) - A refactoring of the Qualcomm QUP driver which enables new variants to be supported - Explicit support for the Freescale i.MX53 and i.MX6 SPI, Renesas R-Car H3 and Rockchip RV1108 controllers" * tag 'spi-v4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (71 commits) spi: spi-falcon: drop check of boot select spi: imx: fix use of native chip-selects with devicetree spi: pl022: constify amba_id spi: imx: fix little-endian build spi: omap: Allocate bus number from spi framework spi: Kernel coding style fixes spi: imx: dynamic burst length adjust for PIO mode spi: Pick spi bus number from Linux idr or spi alias spi: rockchip: configure CTRLR1 according to size and data frame spi: altera: Consolidate TX/RX data register access spi: altera: Switch to SPI core transfer queue management spi: rockchip: add compatible string for rv1108 spi spi: qup: fix 64-bit build warning spi: qup: hide warning for uninitialized variable spi: spi-ep93xx: use the default master transfer queueing mechanism spi: spi-ep93xx: remove private data 'current_msg' spi: spi-ep93xx: pass the spi_master pointer around spi: spi-ep93xx: absorb the interrupt enable/disable helpers spi: spi-ep93xx: add spi master prepare_transfer_hardware() spi: spi-ep93xx: use 32-bit read/write for all registers ...
177 lines
5.3 KiB
Makefile
177 lines
5.3 KiB
Makefile
# Some of the tools (perf) use same make variables
|
|
# as in kernel build.
|
|
export srctree=
|
|
export objtree=
|
|
|
|
include scripts/Makefile.include
|
|
|
|
help:
|
|
@echo 'Possible targets:'
|
|
@echo ''
|
|
@echo ' acpi - ACPI tools'
|
|
@echo ' cgroup - cgroup tools'
|
|
@echo ' cpupower - a tool for all things x86 CPU power'
|
|
@echo ' firewire - the userspace part of nosy, an IEEE-1394 traffic sniffer'
|
|
@echo ' freefall - laptop accelerometer program for disk protection'
|
|
@echo ' gpio - GPIO tools'
|
|
@echo ' hv - tools used when in Hyper-V clients'
|
|
@echo ' iio - IIO tools'
|
|
@echo ' kvm_stat - top-like utility for displaying kvm statistics'
|
|
@echo ' leds - LEDs tools'
|
|
@echo ' liblockdep - user-space wrapper for kernel locking-validator'
|
|
@echo ' net - misc networking tools'
|
|
@echo ' perf - Linux performance measurement and analysis tool'
|
|
@echo ' selftests - various kernel selftests'
|
|
@echo ' spi - spi tools'
|
|
@echo ' objtool - an ELF object analysis tool'
|
|
@echo ' tmon - thermal monitoring and tuning tool'
|
|
@echo ' turbostat - Intel CPU idle stats and freq reporting tool'
|
|
@echo ' usb - USB testing tools'
|
|
@echo ' virtio - vhost test module'
|
|
@echo ' vm - misc vm tools'
|
|
@echo ' x86_energy_perf_policy - Intel energy policy tool'
|
|
@echo ''
|
|
@echo 'You can do:'
|
|
@echo ' $$ make -C tools/ <tool>_install'
|
|
@echo ''
|
|
@echo ' from the kernel command line to build and install one of'
|
|
@echo ' the tools above'
|
|
@echo ''
|
|
@echo ' $$ make tools/all'
|
|
@echo ''
|
|
@echo ' builds all tools.'
|
|
@echo ''
|
|
@echo ' $$ make tools/install'
|
|
@echo ''
|
|
@echo ' installs all tools.'
|
|
@echo ''
|
|
@echo 'Cleaning targets:'
|
|
@echo ''
|
|
@echo ' all of the above with the "_clean" string appended cleans'
|
|
@echo ' the respective build directory.'
|
|
@echo ' clean: a summary clean target to clean _all_ folders'
|
|
|
|
acpi: FORCE
|
|
$(call descend,power/$@)
|
|
|
|
cpupower: FORCE
|
|
$(call descend,power/$@)
|
|
|
|
cgroup firewire hv guest spi usb virtio vm net iio gpio objtool leds: FORCE
|
|
$(call descend,$@)
|
|
|
|
liblockdep: FORCE
|
|
$(call descend,lib/lockdep)
|
|
|
|
libapi: FORCE
|
|
$(call descend,lib/api)
|
|
|
|
# The perf build does not follow the descend function setup,
|
|
# invoking it via it's own make rule.
|
|
PERF_O = $(if $(O),$(O)/tools/perf,)
|
|
|
|
perf: FORCE
|
|
$(Q)mkdir -p $(PERF_O) .
|
|
$(Q)$(MAKE) --no-print-directory -C perf O=$(PERF_O) subdir=
|
|
|
|
selftests: FORCE
|
|
$(call descend,testing/$@)
|
|
|
|
turbostat x86_energy_perf_policy: FORCE
|
|
$(call descend,power/x86/$@)
|
|
|
|
tmon: FORCE
|
|
$(call descend,thermal/$@)
|
|
|
|
freefall: FORCE
|
|
$(call descend,laptop/$@)
|
|
|
|
kvm_stat: FORCE
|
|
$(call descend,kvm/$@)
|
|
|
|
all: acpi cgroup cpupower gpio hv firewire liblockdep \
|
|
perf selftests spi turbostat usb \
|
|
virtio vm net x86_energy_perf_policy \
|
|
tmon freefall iio objtool kvm_stat
|
|
|
|
acpi_install:
|
|
$(call descend,power/$(@:_install=),install)
|
|
|
|
cpupower_install:
|
|
$(call descend,power/$(@:_install=),install)
|
|
|
|
cgroup_install firewire_install gpio_install hv_install iio_install perf_install spi_install usb_install virtio_install vm_install net_install objtool_install:
|
|
$(call descend,$(@:_install=),install)
|
|
|
|
liblockdep_install:
|
|
$(call descend,lib/lockdep,install)
|
|
|
|
selftests_install:
|
|
$(call descend,testing/$(@:_install=),install)
|
|
|
|
turbostat_install x86_energy_perf_policy_install:
|
|
$(call descend,power/x86/$(@:_install=),install)
|
|
|
|
tmon_install:
|
|
$(call descend,thermal/$(@:_install=),install)
|
|
|
|
freefall_install:
|
|
$(call descend,laptop/$(@:_install=),install)
|
|
|
|
kvm_stat_install:
|
|
$(call descend,kvm/$(@:_install=),install)
|
|
|
|
install: acpi_install cgroup_install cpupower_install gpio_install \
|
|
hv_install firewire_install iio_install liblockdep_install \
|
|
perf_install selftests_install turbostat_install usb_install \
|
|
virtio_install vm_install net_install x86_energy_perf_policy_install \
|
|
tmon_install freefall_install objtool_install kvm_stat_install
|
|
|
|
acpi_clean:
|
|
$(call descend,power/acpi,clean)
|
|
|
|
cpupower_clean:
|
|
$(call descend,power/cpupower,clean)
|
|
|
|
cgroup_clean hv_clean firewire_clean spi_clean usb_clean virtio_clean vm_clean net_clean iio_clean gpio_clean objtool_clean leds_clean:
|
|
$(call descend,$(@:_clean=),clean)
|
|
|
|
liblockdep_clean:
|
|
$(call descend,lib/lockdep,clean)
|
|
|
|
libapi_clean:
|
|
$(call descend,lib/api,clean)
|
|
|
|
libbpf_clean:
|
|
$(call descend,lib/bpf,clean)
|
|
|
|
libsubcmd_clean:
|
|
$(call descend,lib/subcmd,clean)
|
|
|
|
perf_clean:
|
|
$(Q)mkdir -p $(PERF_O) .
|
|
$(Q)$(MAKE) --no-print-directory -C perf O=$(PERF_O) subdir= clean
|
|
|
|
selftests_clean:
|
|
$(call descend,testing/$(@:_clean=),clean)
|
|
|
|
turbostat_clean x86_energy_perf_policy_clean:
|
|
$(call descend,power/x86/$(@:_clean=),clean)
|
|
|
|
tmon_clean:
|
|
$(call descend,thermal/tmon,clean)
|
|
|
|
freefall_clean:
|
|
$(call descend,laptop/freefall,clean)
|
|
|
|
build_clean:
|
|
$(call descend,build,clean)
|
|
|
|
clean: acpi_clean cgroup_clean cpupower_clean hv_clean firewire_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 build_clean libbpf_clean libsubcmd_clean liblockdep_clean \
|
|
gpio_clean objtool_clean leds_clean
|
|
|
|
.PHONY: FORCE
|