aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/Makefile7
-rw-r--r--Documentation/arm/Makefile1
-rw-r--r--Documentation/arm/SH-Mobile/Makefile11
-rw-r--r--Documentation/blackfin/Makefile7
-rw-r--r--Documentation/filesystems/Makefile2
-rw-r--r--Documentation/laptops/Makefile2
-rw-r--r--Documentation/mic/Makefile1
-rw-r--r--Documentation/mic/mpssd/Makefile24
-rw-r--r--Documentation/networking/timestamping/Makefile5
-rw-r--r--Documentation/prctl/Makefile8
-rw-r--r--Documentation/ptp/Makefile8
-rw-r--r--Documentation/ptp/testptp.mk33
-rw-r--r--Documentation/vDSO/Makefile9
-rw-r--r--Documentation/video4linux/Makefile1
14 files changed, 55 insertions, 64 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 605f84f29bae..6883a1b9b351 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -1,3 +1,4 @@
1subdir-y := DocBook accounting auxdisplay connector \ 1subdir-y := accounting arm auxdisplay blackfin connector \
2 filesystems filesystems ia64 laptops networking \ 2 filesystems filesystems ia64 laptops mic misc-devices \
3 pcmcia spi timers watchdog misc-devices 3 networking pcmcia prctl ptp spi timers vDSO video4linux \
4 watchdog
diff --git a/Documentation/arm/Makefile b/Documentation/arm/Makefile
new file mode 100644
index 000000000000..732c77050cff
--- /dev/null
+++ b/Documentation/arm/Makefile
@@ -0,0 +1 @@
subdir-y := SH-Mobile
diff --git a/Documentation/arm/SH-Mobile/Makefile b/Documentation/arm/SH-Mobile/Makefile
index 8771d832cf8c..ac8075dcfddc 100644
--- a/Documentation/arm/SH-Mobile/Makefile
+++ b/Documentation/arm/SH-Mobile/Makefile
@@ -1,8 +1,7 @@
1BIN := vrl4 1# List of programs to build
2hostprogs-y := vrl4
2 3
3.PHONY: all 4# Tell kbuild to always build the programs
4all: $(BIN) 5always := $(hostprogs-y)
5 6
6.PHONY: clean 7HOSTCFLAGS_vrl4.o += -I$(objtree)/usr/include
7clean:
8 rm -f *.o $(BIN)
diff --git a/Documentation/blackfin/Makefile b/Documentation/blackfin/Makefile
index 773dbb103f1c..c7e6c99bad81 100644
--- a/Documentation/blackfin/Makefile
+++ b/Documentation/blackfin/Makefile
@@ -1,6 +1,3 @@
1ifneq ($(CONFIG_BLACKFIN),)
1obj-m := gptimers-example.o 2obj-m := gptimers-example.o
2 3endif
3all: modules
4
5modules clean:
6 $(MAKE) -C ../.. SUBDIRS=$(PWD) $@
diff --git a/Documentation/filesystems/Makefile b/Documentation/filesystems/Makefile
index 883010ce5e35..13483d192ebb 100644
--- a/Documentation/filesystems/Makefile
+++ b/Documentation/filesystems/Makefile
@@ -1,3 +1,5 @@
1subdir-y := configfs
2
1# List of programs to build 3# List of programs to build
2hostprogs-y := dnotify_test 4hostprogs-y := dnotify_test
3 5
diff --git a/Documentation/laptops/Makefile b/Documentation/laptops/Makefile
index 0abe44f68965..2b0fa5edf1d3 100644
--- a/Documentation/laptops/Makefile
+++ b/Documentation/laptops/Makefile
@@ -1,5 +1,5 @@
1# List of programs to build 1# List of programs to build
2hostprogs-y := dslm 2hostprogs-y := dslm freefall
3 3
4# Tell kbuild to always build the programs 4# Tell kbuild to always build the programs
5always := $(hostprogs-y) 5always := $(hostprogs-y)
diff --git a/Documentation/mic/Makefile b/Documentation/mic/Makefile
new file mode 100644
index 000000000000..a191d453badf
--- /dev/null
+++ b/Documentation/mic/Makefile
@@ -0,0 +1 @@
subdir-y := mpssd
diff --git a/Documentation/mic/mpssd/Makefile b/Documentation/mic/mpssd/Makefile
index eb860a7d152e..aaa89d137c1a 100644
--- a/Documentation/mic/mpssd/Makefile
+++ b/Documentation/mic/mpssd/Makefile
@@ -1,19 +1,19 @@
1# 1# List of programs to build
2# Makefile - Intel MIC User Space Tools. 2hostprogs-y := mpssd
3# Copyright(c) 2013, Intel Corporation. 3
4# 4mpssd-objs := mpssd.o sysfs.o
5
6# Tell kbuild to always build the programs
7always := $(hostprogs-y)
8
9HOSTCFLAGS_mpssd.o += -I$(objtree)/usr/include
10
5ifdef DEBUG 11ifdef DEBUG
6CFLAGS += $(USERWARNFLAGS) -I. -g -Wall -DDEBUG=$(DEBUG) 12HOSTCFLAGS += -DDEBUG=$(DEBUG)
7else
8CFLAGS += $(USERWARNFLAGS) -I. -g -Wall
9endif 13endif
10 14
11mpssd: mpssd.o sysfs.o 15HOSTLOADLIBES_mpssd := -lpthread
12 $(CC) $(CFLAGS) -o $@ $^ -lpthread
13 16
14install: 17install:
15 install mpssd /usr/sbin/mpssd 18 install mpssd /usr/sbin/mpssd
16 install micctrl /usr/sbin/micctrl 19 install micctrl /usr/sbin/micctrl
17
18clean:
19 rm -f mpssd *.o
diff --git a/Documentation/networking/timestamping/Makefile b/Documentation/networking/timestamping/Makefile
index bbe6f810535d..52ac67da9315 100644
--- a/Documentation/networking/timestamping/Makefile
+++ b/Documentation/networking/timestamping/Makefile
@@ -1,11 +1,8 @@
1# List of programs to build 1# List of programs to build
2hostprogs-y := timestamping hwtstamp_config 2hostprogs-y := hwtstamp_config timestamping
3 3
4# Tell kbuild to always build the programs 4# Tell kbuild to always build the programs
5always := $(hostprogs-y) 5always := $(hostprogs-y)
6 6
7HOSTCFLAGS_timestamping.o += -I$(objtree)/usr/include 7HOSTCFLAGS_timestamping.o += -I$(objtree)/usr/include
8HOSTCFLAGS_hwtstamp_config.o += -I$(objtree)/usr/include 8HOSTCFLAGS_hwtstamp_config.o += -I$(objtree)/usr/include
9
10clean:
11 rm -f timestamping hwtstamp_config
diff --git a/Documentation/prctl/Makefile b/Documentation/prctl/Makefile
new file mode 100644
index 000000000000..3e3232dcb2b8
--- /dev/null
+++ b/Documentation/prctl/Makefile
@@ -0,0 +1,8 @@
1# List of programs to build
2hostprogs-y := disable-tsc-ctxt-sw-stress-test disable-tsc-on-off-stress-test disable-tsc-test
3# Tell kbuild to always build the programs
4always := $(hostprogs-y)
5
6HOSTCFLAGS_disable-tsc-ctxt-sw-stress-test.o += -I$(objtree)/usr/include
7HOSTCFLAGS_disable-tsc-on-off-stress-test.o += -I$(objtree)/usr/include
8HOSTCFLAGS_disable-tsc-test.o += -I$(objtree)/usr/include
diff --git a/Documentation/ptp/Makefile b/Documentation/ptp/Makefile
new file mode 100644
index 000000000000..293d6c09a11f
--- /dev/null
+++ b/Documentation/ptp/Makefile
@@ -0,0 +1,8 @@
1# List of programs to build
2hostprogs-y := testptp
3
4# Tell kbuild to always build the programs
5always := $(hostprogs-y)
6
7HOSTCFLAGS_testptp.o += -I$(objtree)/usr/include
8HOSTLOADLIBES_testptp := -lrt
diff --git a/Documentation/ptp/testptp.mk b/Documentation/ptp/testptp.mk
deleted file mode 100644
index 4ef2d9755421..000000000000
--- a/Documentation/ptp/testptp.mk
+++ /dev/null
@@ -1,33 +0,0 @@
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
19CC = $(CROSS_COMPILE)gcc
20INC = -I$(KBUILD_OUTPUT)/usr/include
21CFLAGS = -Wall $(INC)
22LDLIBS = -lrt
23PROGS = testptp
24
25all: $(PROGS)
26
27testptp: testptp.o
28
29clean:
30 rm -f testptp.o
31
32distclean: clean
33 rm -f $(PROGS)
diff --git a/Documentation/vDSO/Makefile b/Documentation/vDSO/Makefile
new file mode 100644
index 000000000000..6cbd61270de5
--- /dev/null
+++ b/Documentation/vDSO/Makefile
@@ -0,0 +1,9 @@
1# List of programs to build
2hostprogs-$(CONFIG_X86) := vdso_test
3vdso_test-objs := parse_vdso.o vdso_test.o
4
5# Tell kbuild to always build the programs
6##always := $(hostprogs-y)
7
8HOSTCFLAGS := -I$(objtree)/usr/include -std=gnu99
9HOSTLDFLAGS = -nostdlib -fno-asynchronous-unwind-tables
diff --git a/Documentation/video4linux/Makefile b/Documentation/video4linux/Makefile
new file mode 100644
index 000000000000..d58101e788fc
--- /dev/null
+++ b/Documentation/video4linux/Makefile
@@ -0,0 +1 @@
obj-m := v4l2-pci-skeleton.o