Skip to content

Commit adb19fb

Browse files
pefoley2Jiri Kosina
authored andcommitted
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>
1 parent df68a01 commit adb19fb

14 files changed

Lines changed: 55 additions & 64 deletions

File tree

‎Documentation/Makefile‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
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

‎Documentation/arm/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
subdir-y := SH-Mobile
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
BIN := vrl4
1+
# List of programs to build
2+
hostprogs-y := vrl4
23

3-
.PHONY: all
4-
all: $(BIN)
4+
# Tell kbuild to always build the programs
5+
always := $(hostprogs-y)
56

6-
.PHONY: clean
7-
clean:
8-
rm -f *.o $(BIN)
7+
HOSTCFLAGS_vrl4.o += -I$(objtree)/usr/include

‎Documentation/blackfin/Makefile‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1+
ifneq ($(CONFIG_BLACKFIN),)
12
obj-m := gptimers-example.o
2-
3-
all: modules
4-
5-
modules clean:
6-
$(MAKE) -C ../.. SUBDIRS=$(PWD) $@
3+
endif

‎Documentation/filesystems/Makefile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
subdir-y := configfs
2+
13
# List of programs to build
24
hostprogs-y := dnotify_test
35

‎Documentation/laptops/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# List of programs to build
2-
hostprogs-y := dslm
2+
hostprogs-y := dslm freefall
33

44
# Tell kbuild to always build the programs
55
always := $(hostprogs-y)

‎Documentation/mic/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
subdir-y := mpssd

‎Documentation/mic/mpssd/Makefile‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
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+
511
ifdef DEBUG
6-
CFLAGS += $(USERWARNFLAGS) -I. -g -Wall -DDEBUG=$(DEBUG)
7-
else
8-
CFLAGS += $(USERWARNFLAGS) -I. -g -Wall
12+
HOSTCFLAGS += -DDEBUG=$(DEBUG)
913
endif
1014

11-
mpssd: mpssd.o sysfs.o
12-
$(CC) $(CFLAGS) -o $@ $^ -lpthread
15+
HOSTLOADLIBES_mpssd := -lpthread
1316

1417
install:
1518
install mpssd /usr/sbin/mpssd
1619
install micctrl /usr/sbin/micctrl
17-
18-
clean:
19-
rm -f mpssd *.o
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
# List of programs to build
2-
hostprogs-y := timestamping hwtstamp_config
2+
hostprogs-y := hwtstamp_config timestamping
33

44
# Tell kbuild to always build the programs
55
always := $(hostprogs-y)
66

77
HOSTCFLAGS_timestamping.o += -I$(objtree)/usr/include
88
HOSTCFLAGS_hwtstamp_config.o += -I$(objtree)/usr/include
9-
10-
clean:
11-
rm -f timestamping hwtstamp_config

‎Documentation/prctl/Makefile‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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

0 commit comments

Comments
 (0)