diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-10-17 16:48:05 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-10-17 16:48:05 +0100 |
commit | a278bc0ea1507c7241733804bb66fdb90cc44e6f (patch) | |
tree | b472df5441e4d0d0157813534017319a8e615f20 /config/SunOS.mk | |
parent | 6f007b178f8d71d8d84adfc2f1403ca38a31ab3a (diff) | |
download | xen-a278bc0ea1507c7241733804bb66fdb90cc44e6f.tar.gz xen-a278bc0ea1507c7241733804bb66fdb90cc44e6f.tar.bz2 xen-a278bc0ea1507c7241733804bb66fdb90cc44e6f.zip |
Introduce Makefile config fragments for OS-specific differences.
Signed-off-by: John Levon <john.levon@sun.com>
Diffstat (limited to 'config/SunOS.mk')
-rw-r--r-- | config/SunOS.mk | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/config/SunOS.mk b/config/SunOS.mk new file mode 100644 index 0000000000..9acfc03c5d --- /dev/null +++ b/config/SunOS.mk @@ -0,0 +1,27 @@ +# -*- mode: Makefile; -*- + +AS = $(CROSS_COMPILE)gas +LD = $(CROSS_COMPILE)gld +CC = $(CROSS_COMPILE)gcc +CPP = $(CROSS_COMPILE)gcc -E +AR = $(CROSS_COMPILE)gar +RANLIB = $(CROSS_COMPILE)granlib +NM = $(CROSS_COMPILE)gnm +STRIP = $(CROSS_COMPILE)gstrip +OBJCOPY = $(CROSS_COMPILE)gobjcopy +OBJDUMP = $(CROSS_COMPILE)gobjdump + +INSTALL = ginstall +INSTALL_DIR = $(INSTALL) -d -m0755 +INSTALL_DATA = $(INSTALL) -m0644 +INSTALL_PROG = $(INSTALL) -m0755 + +LIB64DIR = lib/amd64 + +ifneq ($(debug),y) +# Optimisation flags are overridable +CFLAGS ?= -O2 -fno-omit-frame-pointer +else +# Less than -O1 produces bad code and large stack frames +CFLAGS ?= -O1 -fno-omit-frame-pointer +endif |