summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorMichael Brown2005-04-25 21:25:45 +0200
committerMichael Brown2005-04-25 21:25:45 +0200
commitd281996ef891b5981444faacaa644599430f965b (patch)
treed062185d2fcc5fae67cbb40f212c4dff3349054d /src/Makefile
parentAdded "name" field to bus structure. (diff)
downloadipxe-d281996ef891b5981444faacaa644599430f965b.tar.gz
ipxe-d281996ef891b5981444faacaa644599430f965b.tar.xz
ipxe-d281996ef891b5981444faacaa644599430f965b.zip
Added DBG2
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 08cb6dbd..a3a6c391 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -71,9 +71,11 @@ SIZE ?= $(CROSS_COMPILE)size
AR ?= $(CROSS_COMPILE)ar
RANLIB ?= $(CROSS_COMPILE)ranlib
OBJCOPY ?= $(CROSS_COMPILE)objcopy
+NM ?= $(CROSS_COMPILE)nm
PARSEROM ?= $(PERL) ./util/parserom.pl
MAKEROM ?= $(PERL) ./util/makerom.pl
MKCONFIG ?= $(PERL) ./util/mkconfig.pl
+SYMCHECK ?= $(PERL) ./util/symcheck.pl
NRV2B ?= ./util/nrv2b
# Location to place generated files
@@ -111,6 +113,7 @@ $(BIN)/%.flags :
COMPILE_c = $(CC) $(CFLAGS) $(CFLAGS_c) $(OBJ_CFLAGS)
RULE_c = $(COMPILE_c) -c $< -o $@
RULE_c_to_dbg.o = $(COMPILE_c) -Ddebug_$(OBJECT) -c $< -o $@
+RULE_c_to_dbg2.o = $(COMPILE_c) -Ddebug_$(OBJECT)=2 -c $< -o $@
RULE_c_to_c = $(COMPILE_c) -E -c $< > $@
RULE_c_to_s = $(COMPILE_c) -S -c $< -o $@
@@ -119,7 +122,7 @@ ASSEMBLE_S = $(AS) $(ASFLAGS)
RULE_S = $(PREPROCESS_S) $< | $(ASSEMBLE_S) -o $@
RULE_S_to_s = $(PREPROCESS_S) $< > $@
-DEBUG_TARGETS += dbg.o c s
+DEBUG_TARGETS += dbg2.o dbg.o c s
# SRCDIRS lists all directories containing source files.
#