Changes in boot/Makefile.build [3bf8a75:874ed210] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/Makefile.build
r3bf8a75 r874ed210 36 36 DEFS = -DBOOT -DRELEASE=$(RELEASE) "-DCOPYRIGHT=$(COPYRIGHT)" "-DNAME=$(NAME)" -D__$(BITS)_BITS__ -D__$(ENDIANESS)__ 37 37 38 AFLAGS = --fatal-warnings 39 LDFLAGS = -Wl,--fatal-warnings,--warn-common 38 LDFLAGS = -Wl,--fatal-warnings,--warn-common $(EXTRA_LDFLAGS) 40 39 41 40 COMMON_CFLAGS = $(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \ 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.