diff options
author | Peter Foley <pefoley2@pefoley.com> | 2014-09-25 14:23:09 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-09-26 05:02:56 -0400 |
commit | adb19fb66eeebac07fe37d968725bb8906dadb8e (patch) | |
tree | 776e0b519e0ba26ba5641f951f6bf2b26c2bdae3 /Documentation/mic | |
parent | df68a01014fd5dea890349321787ca08a5377f0b (diff) |
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>
Diffstat (limited to 'Documentation/mic')
-rw-r--r-- | Documentation/mic/Makefile | 1 | ||||
-rw-r--r-- | Documentation/mic/mpssd/Makefile | 24 |
2 files changed, 13 insertions, 12 deletions
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. | 2 | hostprogs-y := mpssd |
3 | # Copyright(c) 2013, Intel Corporation. | 3 | |
4 | # | 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 | ifdef DEBUG | 11 | ifdef DEBUG |
6 | CFLAGS += $(USERWARNFLAGS) -I. -g -Wall -DDEBUG=$(DEBUG) | 12 | HOSTCFLAGS += -DDEBUG=$(DEBUG) |
7 | else | ||
8 | CFLAGS += $(USERWARNFLAGS) -I. -g -Wall | ||
9 | endif | 13 | endif |
10 | 14 | ||
11 | mpssd: mpssd.o sysfs.o | 15 | HOSTLOADLIBES_mpssd := -lpthread |
12 | $(CC) $(CFLAGS) -o $@ $^ -lpthread | ||
13 | 16 | ||
14 | install: | 17 | install: |
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 | |||
18 | clean: | ||
19 | rm -f mpssd *.o | ||