ia64/xen-unstable

view config/StdGNU.mk @ 12938:b58670602d35

[POWERPC][XEN] Builtin cmdline dependency rule
Rebuild cmdline.o when the user changes the CMDLINE=X argument passed to
the make invocation. I couldn't find an example of another project that
handles this case properly, so I came up with this.
Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Hollis Blanchard <hollisb@us.ibm.com>
date Thu Oct 05 15:48:26 2006 -0500 (2006-10-05)
parents 3409c35a0b0e
children 89d4e80cd1b7
line source
1 AS = $(CROSS_COMPILE)as
2 LD = $(CROSS_COMPILE)ld
3 CC = $(CROSS_COMPILE)gcc
4 CPP = $(CROSS_COMPILE)gcc -E
5 AR = $(CROSS_COMPILE)ar
6 RANLIB = $(CROSS_COMPILE)ranlib
7 NM = $(CROSS_COMPILE)nm
8 STRIP = $(CROSS_COMPILE)strip
9 OBJCOPY = $(CROSS_COMPILE)objcopy
10 OBJDUMP = $(CROSS_COMPILE)objdump
12 INSTALL = install
13 INSTALL_DIR = $(INSTALL) -d -m0755
14 INSTALL_DATA = $(INSTALL) -m0644
15 INSTALL_PROG = $(INSTALL) -m0755
17 LIB64DIR = lib64
19 SOCKET_LIBS =
20 CURSES_LIBS = -lncurses
21 SONAME_LDFLAG = -soname
22 SHLIB_CFLAGS = -shared
24 ifneq ($(debug),y)
25 # Optimisation flags are overridable
26 CFLAGS ?= -O2 -fomit-frame-pointer
27 else
28 # Less than -O1 produces bad code and large stack frames
29 CFLAGS ?= -O1 -fno-omit-frame-pointer
30 endif