diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-04-04 22:18:26 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-04-04 22:18:26 +0000 |
commit | 14ad50edf6aeeff019cb3f446a8677c6eb98756c (patch) | |
tree | 0b2883914b2aab73678ce18b89357fcf8d1c186b /util/romtool/tools/lzma/Makefile | |
parent | 16e34b98a1f7acb3a37579388df585fbc0fa10e5 (diff) |
This fixes a race condition (revealed by my other check-in r4067) in the
romtool by changing the Makefiles to be no longer recursive (once again,
recursive make is to be considered harmful). Tried to (quickly) unify most of
the Makefile code, but medium-term this is going to be worked on for Kconfig
support anyways.
Also fix a sign cast error in rom-mkpayload in case people want to compile this
with -W -Werror
Patch relative to coreboot-v2/util/romtool
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
and
Acked-by: Stefan Reinauer <stepan@coresystems.de>
in order to get the tree working decently asap
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4069 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/romtool/tools/lzma/Makefile')
-rw-r--r-- | util/romtool/tools/lzma/Makefile | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/util/romtool/tools/lzma/Makefile b/util/romtool/tools/lzma/Makefile index b012a93685..9ac4ca2ff6 100644 --- a/util/romtool/tools/lzma/Makefile +++ b/util/romtool/tools/lzma/Makefile @@ -24,27 +24,27 @@ LZMA_OBJ += lzma/OutBuffer.o lzma/Alloc.o LZMA_OBJ += lzma/CRC.o LZMA_OBJ += lzma/lzma-compress.o -$(obj)/lzma/lzma-compress.o: lzma/minilzma.cc - g++ -o $@ -c -DCOMPACT $< +$(tobj)/lzma/lzma-compress.o: $(tsrc)/lzma/minilzma.cc + $(CXX) $(CFLAGS) -o $@ -c -DCOMPACT $< -$(obj)/lzma/%.o: lzma/C/7zip/Compress/LZMA/%.cpp - g++ -o $@ -c $< +$(tobj)/lzma/%.o: $(tsrc)/lzma/C/7zip/Compress/LZMA/%.cpp + $(CXX) $(CFLAGS) -o $@ -c $< -$(obj)/lzma/%.o: lzma/C/7zip/Compress/LZ/%.cpp - g++ -o $@ -c $< +$(tobj)/lzma/%.o: $(tsrc)/lzma/C/7zip/Compress/LZ/%.cpp + $(CXX) $(CFLAGS) -o $@ -c $< -$(obj)/lzma/%.o: lzma/C/7zip/Compress/RangeCoder/%.cpp - g++ -o $@ -c $< +$(tobj)/lzma/%.o: $(tsrc)/lzma/C/7zip/Compress/RangeCoder/%.cpp + $(CXX) $(CFLAGS) -o $@ -c $< -$(obj)/lzma/%.o: lzma/C/7zip/Decompress/%.cpp - g++ -o $@ -c $< +$(tobj)/lzma/%.o: $(tsrc)/lzma/C/7zip/Decompress/%.cpp + $(CXX) $(CFLAGS) -o $@ -c $< -$(obj)/lzma/%.o: lzma/C/7zip/Common/%.cpp - g++ -o $@ -c $< +$(tobj)/lzma/%.o: $(tsrc)/lzma/C/7zip/Common/%.cpp + $(CXX) $(CFLAGS) -o $@ -c $< -$(obj)/lzma/%.o: lzma/C/Common/%.cpp - g++ -o $@ -c $< +$(tobj)/lzma/%.o: $(tsrc)/lzma/C/Common/%.cpp + $(CXX) $(CFLAGS) -o $@ -c $< -$(obj)/lzma/%.o: lzma/%.cc - g++ -o $@ -c $< +$(tobj)/lzma/%.o: $(tsrc)/lzma/%.cc + $(CXX) $(CFLAGS) -o $@ -c $< |