Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: add makefiles for more targets

Add a bunch of previously unbuilt source files to the Documentation build
machinery.

Signed-off-by: Peter Foley <pefoley2@pefoley.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

authored by

Peter Foley and committed by
Jiri Kosina
adb19fb6 df68a010

+55 -64
+4 -3
Documentation/Makefile
··· 1 - subdir-y := DocBook accounting auxdisplay connector \ 2 - filesystems filesystems ia64 laptops networking \ 3 - pcmcia spi timers watchdog misc-devices 1 + subdir-y := accounting arm auxdisplay blackfin connector \ 2 + filesystems filesystems ia64 laptops mic misc-devices \ 3 + networking pcmcia prctl ptp spi timers vDSO video4linux \ 4 + watchdog
+1
Documentation/arm/Makefile
··· 1 + subdir-y := SH-Mobile
+5 -6
Documentation/arm/SH-Mobile/Makefile
··· 1 - BIN := vrl4 1 + # List of programs to build 2 + hostprogs-y := vrl4 2 3 3 - .PHONY: all 4 - all: $(BIN) 4 + # Tell kbuild to always build the programs 5 + always := $(hostprogs-y) 5 6 6 - .PHONY: clean 7 - clean: 8 - rm -f *.o $(BIN) 7 + HOSTCFLAGS_vrl4.o += -I$(objtree)/usr/include
+2 -5
Documentation/blackfin/Makefile
··· 1 + ifneq ($(CONFIG_BLACKFIN),) 1 2 obj-m := gptimers-example.o 2 - 3 - all: modules 4 - 5 - modules clean: 6 - $(MAKE) -C ../.. SUBDIRS=$(PWD) $@ 3 + endif
+2
Documentation/filesystems/Makefile
··· 1 + subdir-y := configfs 2 + 1 3 # List of programs to build 2 4 hostprogs-y := dnotify_test 3 5
+1 -1
Documentation/laptops/Makefile
··· 1 1 # List of programs to build 2 - hostprogs-y := dslm 2 + hostprogs-y := dslm freefall 3 3 4 4 # Tell kbuild to always build the programs 5 5 always := $(hostprogs-y)
+1
Documentation/mic/Makefile
··· 1 + subdir-y := mpssd
+12 -12
Documentation/mic/mpssd/Makefile
··· 1 - # 2 - # Makefile - Intel MIC User Space Tools. 3 - # Copyright(c) 2013, Intel Corporation. 4 - # 1 + # List of programs to build 2 + hostprogs-y := mpssd 3 + 4 + mpssd-objs := mpssd.o sysfs.o 5 + 6 + # Tell kbuild to always build the programs 7 + always := $(hostprogs-y) 8 + 9 + HOSTCFLAGS_mpssd.o += -I$(objtree)/usr/include 10 + 5 11 ifdef DEBUG 6 - CFLAGS += $(USERWARNFLAGS) -I. -g -Wall -DDEBUG=$(DEBUG) 7 - else 8 - CFLAGS += $(USERWARNFLAGS) -I. -g -Wall 12 + HOSTCFLAGS += -DDEBUG=$(DEBUG) 9 13 endif 10 14 11 - mpssd: mpssd.o sysfs.o 12 - $(CC) $(CFLAGS) -o $@ $^ -lpthread 15 + HOSTLOADLIBES_mpssd := -lpthread 13 16 14 17 install: 15 18 install mpssd /usr/sbin/mpssd 16 19 install micctrl /usr/sbin/micctrl 17 - 18 - clean: 19 - rm -f mpssd *.o
+1 -4
Documentation/networking/timestamping/Makefile
··· 1 1 # List of programs to build 2 - hostprogs-y := timestamping hwtstamp_config 2 + hostprogs-y := hwtstamp_config timestamping 3 3 4 4 # Tell kbuild to always build the programs 5 5 always := $(hostprogs-y) 6 6 7 7 HOSTCFLAGS_timestamping.o += -I$(objtree)/usr/include 8 8 HOSTCFLAGS_hwtstamp_config.o += -I$(objtree)/usr/include 9 - 10 - clean: 11 - rm -f timestamping hwtstamp_config
+8
Documentation/prctl/Makefile
··· 1 + # List of programs to build 2 + hostprogs-y := disable-tsc-ctxt-sw-stress-test disable-tsc-on-off-stress-test disable-tsc-test 3 + # Tell kbuild to always build the programs 4 + always := $(hostprogs-y) 5 + 6 + HOSTCFLAGS_disable-tsc-ctxt-sw-stress-test.o += -I$(objtree)/usr/include 7 + HOSTCFLAGS_disable-tsc-on-off-stress-test.o += -I$(objtree)/usr/include 8 + HOSTCFLAGS_disable-tsc-test.o += -I$(objtree)/usr/include
+8
Documentation/ptp/Makefile
··· 1 + # List of programs to build 2 + hostprogs-y := testptp 3 + 4 + # Tell kbuild to always build the programs 5 + always := $(hostprogs-y) 6 + 7 + HOSTCFLAGS_testptp.o += -I$(objtree)/usr/include 8 + HOSTLOADLIBES_testptp := -lrt
-33
Documentation/ptp/testptp.mk
··· 1 - # PTP 1588 clock support - User space test program 2 - # 3 - # Copyright (C) 2010 OMICRON electronics GmbH 4 - # 5 - # This program is free software; you can redistribute it and/or modify 6 - # it under the terms of the GNU General Public License as published by 7 - # the Free Software Foundation; either version 2 of the License, or 8 - # (at your option) any later version. 9 - # 10 - # This program is distributed in the hope that it will be useful, 11 - # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 - # GNU General Public License for more details. 14 - # 15 - # You should have received a copy of the GNU General Public License 16 - # along with this program; if not, write to the Free Software 17 - # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 18 - 19 - CC = $(CROSS_COMPILE)gcc 20 - INC = -I$(KBUILD_OUTPUT)/usr/include 21 - CFLAGS = -Wall $(INC) 22 - LDLIBS = -lrt 23 - PROGS = testptp 24 - 25 - all: $(PROGS) 26 - 27 - testptp: testptp.o 28 - 29 - clean: 30 - rm -f testptp.o 31 - 32 - distclean: clean 33 - rm -f $(PROGS)
+9
Documentation/vDSO/Makefile
··· 1 + # List of programs to build 2 + hostprogs-$(CONFIG_X86) := vdso_test 3 + vdso_test-objs := parse_vdso.o vdso_test.o 4 + 5 + # Tell kbuild to always build the programs 6 + ##always := $(hostprogs-y) 7 + 8 + HOSTCFLAGS := -I$(objtree)/usr/include -std=gnu99 9 + HOSTLDFLAGS = -nostdlib -fno-asynchronous-unwind-tables
+1
Documentation/video4linux/Makefile
··· 1 + obj-m := v4l2-pci-skeleton.o