diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lguest/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/lguest/Makefile b/tools/lguest/Makefile index 97bca4871ea3..a107b5e4da13 100644 --- a/tools/lguest/Makefile +++ b/tools/lguest/Makefile | |||
@@ -1,7 +1,13 @@ | |||
1 | # This creates the demonstration utility "lguest" which runs a Linux guest. | 1 | # This creates the demonstration utility "lguest" which runs a Linux guest. |
2 | CFLAGS:=-m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -U_FORTIFY_SOURCE | 2 | CFLAGS:=-m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -U_FORTIFY_SOURCE -Iinclude |
3 | 3 | ||
4 | all: lguest | 4 | all: lguest |
5 | 5 | ||
6 | include/linux/virtio_types.h: ../../include/uapi/linux/virtio_types.h | ||
7 | mkdir -p include/linux 2>&1 || true | ||
8 | ln -sf ../../../../include/uapi/linux/virtio_types.h $@ | ||
9 | |||
10 | lguest: include/linux/virtio_types.h | ||
11 | |||
6 | clean: | 12 | clean: |
7 | rm -f lguest | 13 | rm -f lguest |