[BACK]Return to Makefile_32 CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / arch / x86 / kdb

File: [Development] / linux-2.6-xfs / arch / x86 / kdb / Makefile_32 (download)

Revision 1.2, Mon Jan 7 15:11:45 2008 UTC (9 years, 9 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.1: +13 -1 lines

Merge up to 2.6.24-rc6
Merge of 2.6.x-xfs-melb:linux:30301a by kenmcd.

#
# This file is subject to the terms and conditions of the GNU General Public
# License.  See the file "COPYING" in the main directory of this archive
# for more details.
#
# Copyright (c) 1999-2004 Silicon Graphics, Inc.  All Rights Reserved.
#

obj-$(CONFIG_KDB)	:= kdba_bp_32.o kdba_id_32.o kdba_io_32.o kdbasupport_32.o i386-dis.o

# The i386 and x86_64 backtrace commands are handled by common code.
obj-y		+= kdba_bt.o
ifneq (,$(findstring -fno-optimize-sibling-calls,$(KBUILD_CFLAGS)))
  CFLAGS_kdba_bt.o += -DNO_SIBLINGS
endif
REGPARM := $(subst -mregparm=,,$(filter -mregparm=%,$(KBUILD_CFLAGS)))
ifeq (,$(REGPARM))
  REGPARM := 3
endif

CFLAGS_kdba_bt.o += -DREGPARM=$(REGPARM) -DCCVERSION="$(CCVERSION)"

override CFLAGS := $(CFLAGS:%-pg=% )

CFLAGS_kdba_io_32.o += -I $(TOPDIR)/arch/$(SRCARCH)/kdb