Changeset 7f881cd8 in mainline for boot/Makefile.build


Ignore:
Timestamp:
2017-11-06T21:04:24Z (7 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
68825c3
Parents:
bd92e6d5
Message:

Simplify make precheck.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.build

    rbd92e6d5 r7f881cd8  
    9292        $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -D__LINKER__ -E -x c $(LINK).in | grep -v "^\#" > $(LINK)
    9393
     94%.o: %.s | depend
     95        $(CC_JOB) -c -MD $(DEFS) $(CFLAGS) $(AS_CFLAGS) -D__ASM__
     96
    9497%.o: %.S | depend
    95         $(CC) -MD $(DEFS) $(CFLAGS) $(AS_CFLAGS) -D__ASM__ -c $< -o $@
    96 ifeq ($(PRECHECK),y)
    97         $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
    98 endif
     98        $(CC_JOB) -c -MD $(DEFS) $(CFLAGS) $(AS_CFLAGS) -D__ASM__
    9999
    100100%.o: %.c | depend
    101         $(CC) -MD $(DEFS) $(CFLAGS) -c $< -o $@
    102 ifeq ($(PRECHECK),y)
    103         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    104 endif
    105 
    106 %.o: %.s | depend
    107         $(CC) -MD $(DEFS) $(CFLAGS) $(AS_CFLAGS) -D__ASM__ -c $< -o $@
    108 ifeq ($(PRECHECK),y)
    109         $(JOBFILE) $(JOB) $< $@ as asm
    110 endif
     101        $(CC_JOB) -c -MD $(DEFS) $(CFLAGS)
    111102
    112103depend: $(PRE_DEPEND)
Note: See TracChangeset for help on using the changeset viewer.