Changeset 81 for trunk/Softwares/Makefile.Software
- Timestamp:
- Apr 15, 2008, 8:40:01 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Softwares/Makefile.Software
-
Property
svn:keywords
set to
Id
r78 r81 27 27 28 28 # Tools 29 CC = $(OR1K_BIN)/or32-elf-gcc30 AS = $(OR1K_BIN)/or32-elf-as31 LD = $(OR1K_BIN)/or32-elf-ld32 O BJDUMP= $(OR1K_BIN)/or32-elf-objdump33 NM= $(OR1K_BIN)/or32-elf-nm29 OR32_CC = $(OR1K_BIN)/or32-elf-gcc 30 OR32_AS = $(OR1K_BIN)/or32-elf-as 31 OR32_LD = $(OR1K_BIN)/or32-elf-ld 32 OR32_OBJDUMP = $(OR1K_BIN)/or32-elf-objdump 33 OR32_NM = $(OR1K_BIN)/or32-elf-nm 34 34 35 35 # Tools's option 36 CC_OPT= $(INCLUDE) $(OPTIMIZE) -Wlong-long36 OR32_CC_OPT = $(INCLUDE) $(OPTIMIZE) -Wlong-long 37 37 # -DHAVE_LIBC 38 AS_OPT=39 LD_OPT= -T$(DIRECTORY_LDSCRIPT)/or32.ld $(LIBRARY)40 O BJDUMP_OPT= -D41 NM_OPT= -n38 OR32_AS_OPT = 39 OR32_LD_OPT = -T$(DIRECTORY_LDSCRIPT)/or32.ld $(LIBRARY) 40 OR32_OBJDUMP_OPT = -D 41 OR32_NM_OPT = -n 42 42 43 43 #-----[ Rules ]------------------------------------------------------------------- … … 49 49 @\ 50 50 $(ECHO) "List symbols : $*"; \ 51 $( NM) $(NM_OPT) $^ > $@.nm; \51 $(OR32_NM) $(OR32_NM_OPT) $^ > $@.nm; \ 52 52 $(ECHO) "Display info : $*"; \ 53 $(O BJDUMP) $(OBJDUMP_OPT) $^ > $@;53 $(OR32_OBJDUMP) $(OR32_OBJDUMP_OPT) $^ > $@; 54 54 55 55 $(DIRECTORY_BIN)/%.x : $(OBJECTS) 56 56 @ \ 57 57 $(ECHO) "Linkage : $*"; \ 58 $( LD) -o $@ $^ $(LD_OPT);58 $(OR32_LD) -o $@ $^ $(OR32_LD_OPT); 59 59 60 60 $(DIRECTORY_OBJ)/%.o : $(DIRECTORY_ASM)/%.s 61 61 @ \ 62 62 $(ECHO) "Compilation : $*"; \ 63 $( CC) $(CC_OPT) -o $@ -c $^ ; \64 $( CC) $(CC_OPT) -S -o $@.s -c $^ ;65 # @$( AS) $(AS_OPT) $^ -o $@63 $(OR32_CC) $(OR32_CC_OPT) -o $@ -c $^ ; \ 64 $(OR32_CC) $(OR32_CC_OPT) -S -o $@.s -c $^ ; 65 # @$(OR32_AS) $(OR32_AS_OPT) $^ -o $@ 66 66 67 67 $(DIRECTORY_OBJ)/%.o : $(DIRECTORY_SYS)/%.s 68 68 @ \ 69 69 $(ECHO) "Compilation : $*"; \ 70 $( CC) $(CC_OPT) -o $@ -c $^ ; \71 $( CC) $(CC_OPT) -S -o $@.s -c $^ ;72 # @$( AS) $(AS_OPT) $^ -o $@70 $(OR32_CC) $(OR32_CC_OPT) -o $@ -c $^ ; \ 71 $(OR32_CC) $(OR32_CC_OPT) -S -o $@.s -c $^ ; 72 # @$(OR32_AS) $(OR32_AS_OPT) $^ -o $@ 73 73 74 74 $(DIRECTORY_OBJ)/%.o : $(DIRECTORY_C)/%.c 75 75 @ \ 76 76 $(ECHO) "Compilation : $*"; \ 77 $( CC) $(CC_OPT) -o $@ -c $^ ; \78 $( CC) $(CC_OPT) -S -o $@.s -c $^ ;77 $(OR32_CC) $(OR32_CC_OPT) -o $@ -c $^ ; \ 78 $(OR32_CC) $(OR32_CC_OPT) -S -o $@.s -c $^ ; 79 79 80 80 #-----[ Environement ]------------------------------------------------------------ -
Property
svn:keywords
set to
Note: See TracChangeset
for help on using the changeset viewer.