aboutsummaryrefslogtreecommitdiff
path: root/ext2load
diff options
context:
space:
mode:
authorFlorian Lohoff <flo@rfc822.org>2008-10-04 12:15:43 +0000
committerGuido G√ľnther <agx@sigxcpu.org>2009-01-11 18:11:50 +0100
commit9b278b0264d12e3a9c2b5468fd3333fad1fb45f5 (patch)
tree55dbc389f531d2e4db3cce738d8056d8e3b44b17 /ext2load
parent0b1d5fa90eabd98e3d69734ce1cdcef949d3fb30 (diff)
Remove print_loadaddr and print_outputformat
replace by makefile defines
Diffstat (limited to 'ext2load')
-rw-r--r--ext2load/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext2load/Makefile b/ext2load/Makefile
index aef477e..f39ea51 100644
--- a/ext2load/Makefile
+++ b/ext2load/Makefile
@@ -36,10 +36,10 @@ ext2load: $(OBJECTS) $(LIBS) ld.script ../common/subarch.h
$(LD) $(LDFLAGS) -o $@ $(OBJECTS) $(LIBS)
ld.script: ld.script.in
- $(MAKE) -C ../common SUBARCH=$(SUBARCH) print_loadaddr
- LOADADDR=$$(../common/print_loadaddr $(SUBARCH)); \
- OUTPUTFORMAT=$$(../common/print_outputformat $(SUBARCH)); \
- sed -e "s/@@LOADADDR@@/$$LOADADDR/" \
+ $(MAKE) -C ../common SUBARCH=$(SUBARCH)
+ LOADADDR=$(LOADADDR); \
+ OUTPUTFORMAT=$(OUTPUTFORMAT); \
+ sed -e "s/@@LOADADDR@@/$$LOADADDR/" \
-e "s/@@OUTPUTFORMAT@@/$$OUTPUTFORMAT/" <$< >$@
install: