- Timestamp:
- 2005-11-08T13:01:58Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ba22dcb
- Parents:
- 789b5cc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r789b5cc r6e259d5 142 142 143 143 clean: 144 -rm -f kernel.bin kernel. map kernel.map.pre kernel.objdump generic/src/debug/real_map.bin Makefile.depend generic/include/arch generic/include/genarch arch/$(ARCH)/_link.ld144 -rm -f kernel.bin kernel.raw kernel.map kernel.map.pre kernel.objdump generic/src/debug/real_map.bin Makefile.depend generic/include/arch generic/include/genarch arch/$(ARCH)/_link.ld 145 145 find generic/src/ arch/$(ARCH)/src/ genarch/src/ -name '*.o' -exec rm \{\} \; 146 146 $(MAKE) -C arch/$(ARCH)/boot clean … … 154 154 155 155 arch/$(ARCH)/_link.ld: arch/$(ARCH)/_link.ld.in 156 $(CC) $(DEFS) -DBFD=\"$(BFD)\"$(CFLAGS) -E -x c $< | grep -v "^\#" > $@156 $(CC) $(DEFS) $(CFLAGS) -E -x c $< | grep -v "^\#" > $@ 157 157 158 158 generic/src/debug/real_map.bin: depend arch/$(ARCH)/_link.ld $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) … … 165 165 $(OBJCOPY) -I binary -O $(BFD_NAME) -B $(BFD_ARCH) --prefix-sections=symtab $< $@ 166 166 167 kernel. bin: depend arch/$(ARCH)/_link.ld $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) generic/src/debug/real_map.o167 kernel.raw: depend arch/$(ARCH)/_link.ld $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) generic/src/debug/real_map.o 168 168 $(LD) -T arch/$(ARCH)/_link.ld $(LFLAGS) $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) generic/src/debug/real_map.o -o $@ -Map kernel.map 169 170 kernel.bin: kernel.raw 171 $(OBJCOPY) -O $(BFD) kernel.raw kernel.bin 169 172 170 173 boot: kernel.bin
Note:
See TracChangeset
for help on using the changeset viewer.