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