Changeset cfdeedc in mainline for kernel/Makefile
- Timestamp:
- 2018-10-21T23:12:23Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bf05c74
- Parents:
- d59718e
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-10-21 22:53:48)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-10-21 23:12:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/Makefile
rd59718e rcfdeedc 49 49 50 50 AUTOCHECK = $(realpath $(ROOT_PATH)/tools/autocheck.awk) 51 RAW = kernel.raw 52 BIN = kernel.bin 51 KERNEL = kernel.elf 53 52 MAP = kernel.map 54 53 JOB = kernel.job … … 75 74 .DELETE_ON_ERROR: 76 75 77 all: $(VERSION_DEF) $(COMMON_MAKEFILE) $(COMMON_HEADER) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) $( BIN) $(DISASM)76 all: $(VERSION_DEF) $(COMMON_MAKEFILE) $(COMMON_HEADER) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) $(KERNEL) $(DISASM) 78 77 79 78 clean: autogen_clean 80 rm -f $( RAW) $(BIN) $(MAP) $(JOB) $(MAP_PREV) $(DISASM) $(DUMP) $(REAL_MAP).* arch/*/_link.ld arch/*/include/arch/common.h79 rm -f $(KERNEL) $(MAP) $(JOB) $(MAP_PREV) $(DISASM) $(DUMP) $(REAL_MAP).* arch/*/_link.ld arch/*/include/arch/common.h 81 80 find generic/src/ arch/*/src/ genarch/src/ test/ -name '*.o' -follow -exec rm '{}' \; 82 81 find generic/src/ arch/*/src/ genarch/src/ test/ -name '*.d' -follow -exec rm '{}' \; … … 370 369 endif 371 370 372 $(BIN): $(RAW) 373 $(OBJCOPY) -O $(BFD) $< $@ 374 375 $(DISASM): $(RAW) 371 $(DISASM): $(KERNEL) 376 372 ifeq ($(CONFIG_LINE_DEBUG),y) 377 373 $(OBJDUMP) -d -S $< > $@ … … 380 376 endif 381 377 382 $( RAW): $(LINK) $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) $(SYMTAB_OBJECTS)378 $(KERNEL): $(LINK) $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) $(SYMTAB_OBJECTS) 383 379 $(CC) $(DEFS) $(CFLAGS) $(LDFLAGS) -Wl,-Map,$(MAP) -o $@ $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) $(EXTRA_OBJECTS) $(SYMTAB_OBJECTS) 384 380
Note:
See TracChangeset
for help on using the changeset viewer.