Changeset 0e9b512 in mainline for uspace/Makefile.common


Ignore:
Timestamp:
2011-04-03T16:31:15Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cf44c14
Parents:
e2098dd7
Message:

Fix mips32 and ppc32 builds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    re2098dd7 r0e9b512  
    255255endif
    256256
    257 %.lo: %.S
    258         $(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@
    259 
    260 %.lo: %.s
    261         $(AS) $(AFLAGS) $< -o $@
     257%.lo: %.S $(DEPEND)
     258        $(CC) $(DEFS) $(LIB_CFLAGS) -D__ASM__ -c $< -o $@
     259ifeq ($(PRECHECK),y)
     260        $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
     261endif
     262
     263%.lo: %.s $(DEPEND)
     264        $(AS) $(AFLAGS) -o $@ $<
     265ifeq ($(PRECHECK),y)
     266        $(JOBFILE) $(JOB) $< $@ as asm
     267endif
    262268
    263269%.lo: %.c $(DEPEND)
Note: See TracChangeset for help on using the changeset viewer.