Changeset 3da2a55 in freewrt
- Timestamp:
- Jun 18, 2006, 6:26:39 PM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- e413778
- Parents:
- 732920b
- Files:
-
- 2 edited
- 2 moved
-
target/Makefile (modified) (2 diffs)
-
toolchain/Makefile (modified) (1 diff)
-
toolchain/lzma/Makefile (moved) (moved from target/lzma/Makefile )
-
toolchain/lzma/lzma-zlib.patch (moved) (moved from target/lzma/lzma-zlib.patch ) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
target/Makefile
r732920b r3da2a55 6 6 mkdir -p $(BIN_DIR) 7 7 8 linux-compile: lzma-install8 linux-compile: 9 9 linux-install: $(BIN_DIR) 10 10 … … 12 12 compile: linux-compile 13 13 install: image_clean linux-install 14 clean: linux-clean lzma-cleanimage_clean14 clean: linux-clean image_clean 15 15 16 16 image_clean: -
toolchain/Makefile
r732920b r3da2a55 1 1 # Main makefile for the toolchain 2 2 include $(TOPDIR)/rules.mk 3 TARGETS:=sed binutils gcc uClibc ipkg-utils gdb libnotimpl utils 3 TARGETS:=sed binutils gcc uClibc ipkg-utils gdb libnotimpl utils lzma 4 4 5 5 TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS)) -
toolchain/lzma/lzma-zlib.patch
r732920b r3da2a55 1 $FreeWRT$ 2 1 3 diff -Nur lzma/C/7zip/Compress/LZMA/LZMADecoder.cpp lzma.patched/C/7zip/Compress/LZMA/LZMADecoder.cpp 2 4 --- lzma/C/7zip/Compress/LZMA/LZMADecoder.cpp 2005-09-22 10:55:34.000000000 +0200 … … 42 44 +AR = ar 43 45 +RM = rm -f 44 +CFLAGS =-c -I ../../../46 +CFLAGSX = $(CFLAGS) -c -I ../../../ 45 47 + 46 48 +OBJS = \ … … 71 73 + 72 74 +ZLib.o: ZLib.cpp 73 + $(CXX) $(CFLAGS ) ZLib.cpp75 + $(CXX) $(CFLAGSX) ZLib.cpp 74 76 + 75 77 +LZMADecoder.o: ../LZMA/LZMADecoder.cpp 76 + $(CXX) $(CFLAGS ) ../LZMA/LZMADecoder.cpp78 + $(CXX) $(CFLAGSX) ../LZMA/LZMADecoder.cpp 77 79 + 78 80 +LZMAEncoder.o: ../LZMA/LZMAEncoder.cpp 79 + $(CXX) $(CFLAGS ) ../LZMA/LZMAEncoder.cpp81 + $(CXX) $(CFLAGSX) ../LZMA/LZMAEncoder.cpp 80 82 + 81 83 +LZInWindow.o: ../LZ/LZInWindow.cpp 82 + $(CXX) $(CFLAGS ) ../LZ/LZInWindow.cpp84 + $(CXX) $(CFLAGSX) ../LZ/LZInWindow.cpp 83 85 + 84 86 +LZOutWindow.o: ../LZ/LZOutWindow.cpp 85 + $(CXX) $(CFLAGS ) ../LZ/LZOutWindow.cpp87 + $(CXX) $(CFLAGSX) ../LZ/LZOutWindow.cpp 86 88 + 87 89 +RangeCoderBit.o: ../RangeCoder/RangeCoderBit.cpp 88 + $(CXX) $(CFLAGS ) ../RangeCoder/RangeCoderBit.cpp90 + $(CXX) $(CFLAGSX) ../RangeCoder/RangeCoderBit.cpp 89 91 + 90 92 +InBuffer.o: ../../Common/InBuffer.cpp 91 + $(CXX) $(CFLAGS ) ../../Common/InBuffer.cpp93 + $(CXX) $(CFLAGSX) ../../Common/InBuffer.cpp 92 94 + 93 95 +OutBuffer.o: ../../Common/OutBuffer.cpp 94 + $(CXX) $(CFLAGS ) ../../Common/OutBuffer.cpp96 + $(CXX) $(CFLAGSX) ../../Common/OutBuffer.cpp 95 97 + 96 98 +StreamUtils.o: ../../Common/StreamUtils.cpp 97 + $(CXX) $(CFLAGS ) ../../Common/StreamUtils.cpp99 + $(CXX) $(CFLAGSX) ../../Common/StreamUtils.cpp 98 100 + 99 101 +FileStreams.o: ../../Common/FileStreams.cpp 100 + $(CXX) $(CFLAGS ) ../../Common/FileStreams.cpp102 + $(CXX) $(CFLAGSX) ../../Common/FileStreams.cpp 101 103 + 102 104 +Alloc.o: ../../../Common/Alloc.cpp 103 + $(CXX) $(CFLAGS ) ../../../Common/Alloc.cpp105 + $(CXX) $(CFLAGSX) ../../../Common/Alloc.cpp 104 106 + 105 107 +C_FileIO.o: ../../../Common/C_FileIO.cpp 106 + $(CXX) $(CFLAGS ) ../../../Common/C_FileIO.cpp108 + $(CXX) $(CFLAGSX) ../../../Common/C_FileIO.cpp 107 109 + 108 110 +CommandLineParser.o: ../../../Common/CommandLineParser.cpp 109 + $(CXX) $(CFLAGS ) ../../../Common/CommandLineParser.cpp111 + $(CXX) $(CFLAGSX) ../../../Common/CommandLineParser.cpp 110 112 + 111 113 +CRC.o: ../../../Common/CRC.cpp 112 + $(CXX) $(CFLAGS ) ../../../Common/CRC.cpp114 + $(CXX) $(CFLAGSX) ../../../Common/CRC.cpp 113 115 + 114 116 +MyWindows.o: ../../../Common/MyWindows.cpp 115 + $(CXX) $(CFLAGS ) ../../../Common/MyWindows.cpp117 + $(CXX) $(CFLAGSX) ../../../Common/MyWindows.cpp 116 118 + 117 119 +String.o: ../../../Common/String.cpp 118 + $(CXX) $(CFLAGS ) ../../../Common/String.cpp120 + $(CXX) $(CFLAGSX) ../../../Common/String.cpp 119 121 + 120 122 +StringConvert.o: ../../../Common/StringConvert.cpp 121 + $(CXX) $(CFLAGS ) ../../../Common/StringConvert.cpp123 + $(CXX) $(CFLAGSX) ../../../Common/StringConvert.cpp 122 124 + 123 125 +StringToInt.o: ../../../Common/StringToInt.cpp 124 + $(CXX) $(CFLAGS ) ../../../Common/StringToInt.cpp126 + $(CXX) $(CFLAGSX) ../../../Common/StringToInt.cpp 125 127 + 126 128 +Vector.o: ../../../Common/Vector.cpp 127 + $(CXX) $(CFLAGS ) ../../../Common/Vector.cpp129 + $(CXX) $(CFLAGSX) ../../../Common/Vector.cpp 128 130 + 129 131 +clean: … … 407 409 + return Z_OK; 408 410 +} 411 --- lzma/C/7zip/Compress/LZMA_Alone/makefile.gcc.orig Sun Jun 18 16:09:23 2006 412 +++ lzma/C/7zip/Compress/LZMA_Alone/makefile.gcc Sun Jun 18 16:09:55 2006 413 @@ -1,9 +1,9 @@ 414 PROG = lzma 415 CXX = g++ -O2 -Wall 416 -CXX_C = gcc -O2 -Wall 417 +CXX_C = $(CC) -O2 -Wall 418 LIB = -lm 419 RM = rm -f 420 -CFLAGS = -c -I ../../../ 421 +CFLAGSX = $(CFLAGS) -c -I ../../../ 422 423 OBJS = \ 424 LzmaAlone.o \ 425 @@ -37,76 +37,76 @@ $(PROG): $(OBJS) 426 $(CXX) -o $(PROG) $(LDFLAGS) $(OBJS) $(LIB) 427 428 LzmaAlone.o: LzmaAlone.cpp 429 - $(CXX) $(CFLAGS) LzmaAlone.cpp 430 + $(CXX) $(CFLAGSX) LzmaAlone.cpp 431 432 LzmaBench.o: LzmaBench.cpp 433 - $(CXX) $(CFLAGS) LzmaBench.cpp 434 + $(CXX) $(CFLAGSX) LzmaBench.cpp 435 436 LzmaRam.o: LzmaRam.cpp 437 - $(CXX) $(CFLAGS) LzmaRam.cpp 438 + $(CXX) $(CFLAGSX) LzmaRam.cpp 439 440 LzmaRamDecode.o: LzmaRamDecode.c 441 - $(CXX_C) $(CFLAGS) LzmaRamDecode.c 442 + $(CXX_C) $(CFLAGSX) LzmaRamDecode.c 443 444 LzmaDecode.o: ../LZMA_C/LzmaDecode.c 445 - $(CXX_C) $(CFLAGS) ../LZMA_C/LzmaDecode.c 446 + $(CXX_C) $(CFLAGSX) ../LZMA_C/LzmaDecode.c 447 448 BranchX86.o: ../Branch/BranchX86.c 449 - $(CXX_C) $(CFLAGS) ../Branch/BranchX86.c 450 + $(CXX_C) $(CFLAGSX) ../Branch/BranchX86.c 451 452 LZMADecoder.o: ../LZMA/LZMADecoder.cpp 453 - $(CXX) $(CFLAGS) ../LZMA/LZMADecoder.cpp 454 + $(CXX) $(CFLAGSX) ../LZMA/LZMADecoder.cpp 455 456 LZMAEncoder.o: ../LZMA/LZMAEncoder.cpp 457 - $(CXX) $(CFLAGS) ../LZMA/LZMAEncoder.cpp 458 + $(CXX) $(CFLAGSX) ../LZMA/LZMAEncoder.cpp 459 460 LZInWindow.o: ../LZ/LZInWindow.cpp 461 - $(CXX) $(CFLAGS) ../LZ/LZInWindow.cpp 462 + $(CXX) $(CFLAGSX) ../LZ/LZInWindow.cpp 463 464 LZOutWindow.o: ../LZ/LZOutWindow.cpp 465 - $(CXX) $(CFLAGS) ../LZ/LZOutWindow.cpp 466 + $(CXX) $(CFLAGSX) ../LZ/LZOutWindow.cpp 467 468 RangeCoderBit.o: ../RangeCoder/RangeCoderBit.cpp 469 - $(CXX) $(CFLAGS) ../RangeCoder/RangeCoderBit.cpp 470 + $(CXX) $(CFLAGSX) ../RangeCoder/RangeCoderBit.cpp 471 472 InBuffer.o: ../../Common/InBuffer.cpp 473 - $(CXX) $(CFLAGS) ../../Common/InBuffer.cpp 474 + $(CXX) $(CFLAGSX) ../../Common/InBuffer.cpp 475 476 OutBuffer.o: ../../Common/OutBuffer.cpp 477 - $(CXX) $(CFLAGS) ../../Common/OutBuffer.cpp 478 + $(CXX) $(CFLAGSX) ../../Common/OutBuffer.cpp 479 480 FileStreams.o: ../../Common/FileStreams.cpp 481 - $(CXX) $(CFLAGS) ../../Common/FileStreams.cpp 482 + $(CXX) $(CFLAGSX) ../../Common/FileStreams.cpp 483 484 StreamUtils.o: ../../Common/StreamUtils.cpp 485 - $(CXX) $(CFLAGS) ../../Common/StreamUtils.cpp 486 + $(CXX) $(CFLAGSX) ../../Common/StreamUtils.cpp 487 488 Alloc.o: ../../../Common/Alloc.cpp 489 - $(CXX) $(CFLAGS) ../../../Common/Alloc.cpp 490 + $(CXX) $(CFLAGSX) ../../../Common/Alloc.cpp 491 492 C_FileIO.o: ../../../Common/C_FileIO.cpp 493 - $(CXX) $(CFLAGS) ../../../Common/C_FileIO.cpp 494 + $(CXX) $(CFLAGSX) ../../../Common/C_FileIO.cpp 495 496 CommandLineParser.o: ../../../Common/CommandLineParser.cpp 497 - $(CXX) $(CFLAGS) ../../../Common/CommandLineParser.cpp 498 + $(CXX) $(CFLAGSX) ../../../Common/CommandLineParser.cpp 499 500 CRC.o: ../../../Common/CRC.cpp 501 - $(CXX) $(CFLAGS) ../../../Common/CRC.cpp 502 + $(CXX) $(CFLAGSX) ../../../Common/CRC.cpp 503 504 MyWindows.o: ../../../Common/MyWindows.cpp 505 - $(CXX) $(CFLAGS) ../../../Common/MyWindows.cpp 506 + $(CXX) $(CFLAGSX) ../../../Common/MyWindows.cpp 507 508 String.o: ../../../Common/String.cpp 509 - $(CXX) $(CFLAGS) ../../../Common/String.cpp 510 + $(CXX) $(CFLAGSX) ../../../Common/String.cpp 511 512 StringConvert.o: ../../../Common/StringConvert.cpp 513 - $(CXX) $(CFLAGS) ../../../Common/StringConvert.cpp 514 + $(CXX) $(CFLAGSX) ../../../Common/StringConvert.cpp 515 516 StringToInt.o: ../../../Common/StringToInt.cpp 517 - $(CXX) $(CFLAGS) ../../../Common/StringToInt.cpp 518 + $(CXX) $(CFLAGSX) ../../../Common/StringToInt.cpp 519 520 Vector.o: ../../../Common/Vector.cpp 521 - $(CXX) $(CFLAGS) ../../../Common/Vector.cpp 522 + $(CXX) $(CFLAGSX) ../../../Common/Vector.cpp 523 524 clean: 525 -$(RM) $(PROG) $(OBJS)
Note:
See TracChangeset
for help on using the changeset viewer.
