aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/lguest/Makefile
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2007-10-21 20:56:24 -0400
committerRusty Russell <rusty@rustcorp.com.au>2007-10-23 01:49:49 -0400
commitb45d8cb054d7677d75176ae22a584fd84e4650e9 (patch)
treef9b91a045a6e602ccb3d8a478d2b235701e1c09e /Documentation/lguest/Makefile
parent9653c4aff94e43de5f4ef918d47e00018beb4105 (diff)
Make lguest_launcher.h types userspace-friendly
lguest_launcher.h uses "u32" not "__u32", which sets a bad example. Fix that, and include <linux/types.h>. This means we need to use -I on the Launcher build line so types.h is found. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'Documentation/lguest/Makefile')
-rw-r--r--Documentation/lguest/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/lguest/Makefile b/Documentation/lguest/Makefile
index c0b7a4556390..526c15fd83af 100644
--- a/Documentation/lguest/Makefile
+++ b/Documentation/lguest/Makefile
@@ -11,7 +11,7 @@ endif
11include $(KBUILD_OUTPUT)/.config 11include $(KBUILD_OUTPUT)/.config
12LGUEST_GUEST_TOP := ($(CONFIG_PAGE_OFFSET) - 0x08000000) 12LGUEST_GUEST_TOP := ($(CONFIG_PAGE_OFFSET) - 0x08000000)
13 13
14CFLAGS:=-Wall -Wmissing-declarations -Wmissing-prototypes -O3 -Wl,-T,lguest.lds 14CFLAGS:=-Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include -Wl,-T,lguest.lds
15LDLIBS:=-lz 15LDLIBS:=-lz
16# Removing this works for some versions of ld.so (eg. Ubuntu Feisty) and 16# Removing this works for some versions of ld.so (eg. Ubuntu Feisty) and
17# not others (eg. FC7). 17# not others (eg. FC7).