- Timestamp:
- 2005-11-07T20:44:50Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6bc4dbd
- Parents:
- c4e8ed9d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
rc4e8ed9d r849ba5cb 122 122 GENARCH_OBJECTS := $(addsuffix .o,$(basename $(GENARCH_SOURCES))) 123 123 124 .PHONY: all clean config depend 124 .PHONY: all clean config depend boot 125 125 126 all: kernel.bin 126 all: kernel.bin boot 127 127 128 128 -include Makefile.depend … … 130 130 clean: 131 131 find generic/src/ arch/$(ARCH)/src/ genarch/src/ -name '*.o' -exec rm \{\} \; 132 -rm -f kernel.bin kernel.map kernel.map.pre kernel.objdump src/debug/real_map.bin Makefile.depend generic/include/arch generic/include/genarch 132 -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.ld 133 $(MAKE) -C arch/$(ARCH)/boot clean 133 134 134 135 config: … … 154 155 $(LD) -T arch/$(ARCH)/_link.ld $(LFLAGS) $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) generic/src/debug/real_map.o -o $@ -Map kernel.map 155 156 157 boot: kernel.bin 158 $(MAKE) -C arch/$(ARCH)/boot build KERNEL_SIZE="`cat kernel.bin | wc -c`" 159 156 160 %.o: %.S 157 161 $(CC) $(ASFLAGS) $(CFLAGS) -c $< -o $@
Note:
See TracChangeset
for help on using the changeset viewer.