Changeset 7f881cd8 in mainline for kernel/Makefile
- Timestamp:
- 2017-11-06T21:04:24Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 68825c3
- Parents:
- bd92e6d5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/Makefile
rbd92e6d5 r7f881cd8 59 59 60 60 GENMAP = tools/genmap.py 61 JOBFILE = $(ROOT_PATH)/tools/jobfile.py62 61 63 62 LINK = arch/$(KARCH)/_link.ld 64 63 EMPTY_MAP = generic/src/debug/empty_map.o 65 64 SIZEOK_MAP = generic/src/debug/sizeok_map.o 65 66 ifeq ($(PRECHECK),y) 67 JOBFILE = $(ROOT_PATH)/tools/jobfile.py 68 # XXX: Do not change the order of arguments. 69 CC_JOB = $(JOBFILE) $(JOB) $(CC) $< -o $@ 70 else 71 CC_JOB = $(CC) $< -o $@ 72 endif 66 73 67 74 .PHONY: all clean autogen_clean depend … … 407 414 408 415 %.o: %.S | depend 409 $(CC) -MD $(DEFS) $(CFLAGS) $(AS_CFLAGS) -D__ASM__ -c -o $@ $< 410 ifeq ($(PRECHECK),y) 411 $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__ 412 endif 416 $(CC_JOB) -c -MD $(DEFS) $(CFLAGS) $(AS_CFLAGS) -D__ASM__ 413 417 414 418 %.o: %.s | depend 415 $(CC) -MD $(DEFS) $(CFLAGS) $(AS_CFLAGS) -D__ASM__ -c -o $@ $< 416 ifeq ($(PRECHECK),y) 417 $(JOBFILE) $(JOB) $< $@ as asm $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) 418 endif 419 $(CC_JOB) -c -MD $(DEFS) $(CFLAGS) $(AS_CFLAGS) -D__ASM__ 419 420 420 421 %.o: %.c | depend 421 $(CC) -MD $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) $(FPU_NO_CFLAGS) $(if $(findstring $<,$(INSTRUMENTED_SOURCES)),$(INSTRUMENTATION)) -c -o $@ $< 422 ifeq ($(PRECHECK),y) 423 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) $(FPU_NO_CFLAGS) 424 endif 422 $(CC_JOB) -c -MD $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) $(FPU_NO_CFLAGS) $(if $(findstring $<,$(INSTRUMENTED_SOURCES)),$(INSTRUMENTATION)) 425 423 426 424 $(REAL_MAP).o: $(REAL_MAP).bin
Note:
See TracChangeset
for help on using the changeset viewer.