Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 67cda76 in mainline for kernel/Makefile


Ignore:
Timestamp:
2017-05-04T22:25:22Z (5 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
14d5223
Parents:
f233840
Message:

make sure the architecture can set up required assembler directives for generated files (e.g. the usage of softfloat on MIPS)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/Makefile

    rf233840 r67cda76  
    447447
    448448$(REAL_MAP).o: $(REAL_MAP).bin
    449         echo $(SYMTAB_SECTION)" .incbin \"$<\"" | $(AS) $(AFLAGS) -o $@
     449        echo $(AS_PROLOG)$(SYMTAB_SECTION)" .incbin \"$<\"" | $(AS) $(AFLAGS) -o $@
    450450
    451451$(REAL_MAP).bin: $(LINK) $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS)
    452         echo $(SYMTAB_SECTION) | $(AS) $(AFLAGS) -o $(EMPTY_MAP)
     452        echo $(AS_PROLOG)$(SYMTAB_SECTION) | $(AS) $(AFLAGS) -o $(EMPTY_MAP)
    453453ifeq ($(CONFIG_LTO),y)
    454454        $(GCC) $(LFLAGS_LTO) -Xlinker -Map -Xlinker $(MAP_PREV) $(DEFS) $(GCC_CFLAGS) -o $@ $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) $(EXTRA_OBJECTS) $(EMPTY_MAP)
     
    462462        # on architectures that have bss after symtab
    463463       
    464         echo $(SYMTAB_SECTION)" .incbin \"$@\"" | $(AS) $(AFLAGS) -o $(SIZEOK_MAP)
     464        echo $(AS_PROLOG)$(SYMTAB_SECTION)" .incbin \"$@\"" | $(AS) $(AFLAGS) -o $(SIZEOK_MAP)
    465465ifeq ($(CONFIG_LTO),y)
    466466        $(GCC) $(LFLAGS_LTO) -Xlinker -Map -Xlinker $(MAP_PREV) $(DEFS) $(GCC_CFLAGS) -o $@ $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) $(EXTRA_OBJECTS) $(SIZEOK_MAP)
Note: See TracChangeset for help on using the changeset viewer.