diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-02-12 15:03:07 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-02-12 15:03:07 +0000 |
commit | 6e30359431245bde61c200b0e88ac256e6f7978e (patch) | |
tree | fdea0807b90b53f41e2958201d1cc287ec4ece5a /config | |
parent | 03dc7c2febb658da3fb7bf0b814e69c098d56bce (diff) | |
download | xen-6e30359431245bde61c200b0e88ac256e6f7978e.tar.gz xen-6e30359431245bde61c200b0e88ac256e6f7978e.tar.bz2 xen-6e30359431245bde61c200b0e88ac256e6f7978e.zip |
Make stubdom/Makefile override XEN_OS to MiniOS, and add
config/MiniOS.mk. Add PTHREAD_LIBS to configs (usually holding
-lpthread).
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/MiniOS.mk | 9 | ||||
-rw-r--r-- | config/StdGNU.mk | 1 | ||||
-rw-r--r-- | config/SunOS.mk | 1 |
3 files changed, 11 insertions, 0 deletions
diff --git a/config/MiniOS.mk b/config/MiniOS.mk new file mode 100644 index 0000000000..fc02b70fc4 --- /dev/null +++ b/config/MiniOS.mk @@ -0,0 +1,9 @@ +include $(XEN_ROOT)/config/StdGNU.mk +include $(XEN_ROOT)/extras/mini-os/Config.mk +CFLAGS += $(DEF_CFLAGS) $(ARCH_CFLAGS) +CPPFLAGS += $(DEF_CPPFLAGS) $(ARCH_CPPFLAGS) $(extra_incl) +ASFLAGS += $(DEF_ASFLAGS) $(ARCH_ASFLAGS) +LDFLAGS += $(DEF_LDFLAGS) $(ARCH_LDFLAGS) + +# Override settings for this OS +PTHREAD_LIBS = diff --git a/config/StdGNU.mk b/config/StdGNU.mk index dfbc7ece44..82a99d3f11 100644 --- a/config/StdGNU.mk +++ b/config/StdGNU.mk @@ -35,6 +35,7 @@ PRIVATE_BINDIR = $(PRIVATE_PREFIX)/bin SOCKET_LIBS = CURSES_LIBS = -lncurses +PTHREAD_LIBS = -lpthread UTIL_LIBS = -lutil SONAME_LDFLAG = -soname SHLIB_CFLAGS = -shared diff --git a/config/SunOS.mk b/config/SunOS.mk index e6035bf4ca..c2a5594000 100644 --- a/config/SunOS.mk +++ b/config/SunOS.mk @@ -39,6 +39,7 @@ SunOS_LIBDIR_x86_64 = /usr/sfw/lib/amd64 SOCKET_LIBS = -lsocket CURSES_LIBS = -lcurses +PTHREAD_LIBS = -lpthread UTIL_LIBS = SONAME_LDFLAG = -h SHLIB_CFLAGS = -R $(SunOS_LIBDIR) -shared |