Changeset 874ed210 in mainline for boot/Makefile.build
- Timestamp:
- 2019-06-24T16:13:58Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 59d8235
- Parents:
- d86393c8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/Makefile.build
rd86393c8 r874ed210 36 36 DEFS = -DBOOT -DRELEASE=$(RELEASE) "-DCOPYRIGHT=$(COPYRIGHT)" "-DNAME=$(NAME)" -D__$(BITS)_BITS__ -D__$(ENDIANESS)__ 37 37 38 AFLAGS = --fatal-warnings39 38 LDFLAGS = -Wl,--fatal-warnings,--warn-common $(EXTRA_LDFLAGS) 40 39 … … 42 41 -ffreestanding -nostdlib \ 43 42 -fexec-charset=UTF-8 -finput-charset=UTF-8 -fno-common \ 44 -fdebug-prefix-map=$(realpath $(ROOT_PATH))=. 43 -fdebug-prefix-map=$(realpath $(ROOT_PATH))=. \ 44 -Wa,--fatal-warnings 45 45 46 46 GCC_CFLAGS = -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \ … … 80 80 -include $(DEPENDS) 81 81 82 AS_CFLAGS := $(addprefix -Xassembler ,$(AFLAGS))83 84 82 $(BOOT_OUTPUT): $(RAW) 85 83 $(OBJCOPY) -O $(BFD_OUTPUT) $< $@ … … 92 90 93 91 %.o: %.s | depend 94 $(CC_JOB) -c -MD -MP $(DEFS) $(CFLAGS) $(AS_CFLAGS)92 $(CC_JOB) -c -MD -MP $(DEFS) $(CFLAGS) 95 93 96 94 %.o: %.S | depend 97 $(CC_JOB) -c -MD -MP $(DEFS) $(CFLAGS) $(AS_CFLAGS)95 $(CC_JOB) -c -MD -MP $(DEFS) $(CFLAGS) 98 96 99 97 %.o: %.c | depend
Note:
See TracChangeset
for help on using the changeset viewer.