Changes in kernel/Makefile.build [9647c86:f6069801] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/Makefile.build

    r9647c86 rf6069801  
    5555        -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \
    5656        -finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \
    57         -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \
    58         -Werror-implicit-function-declaration -Werror -pipe
     57        -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes -Werror \
     58        -pipe
    5959
    6060ICC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros ../config.h \
    6161        -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wmissing-prototypes \
    62         -Werror-implicit-function-declaration -Werror -wd170
     62        -Werror -wd170
    6363
    6464SUNCC_CFLAGS = -I$(INCLUDES) -xO$(OPTIMIZATION) \
     
    376376%.o: %.S $(DEPEND)
    377377        $(GCC) $(DEFS) $(GCC_CFLAGS) -D__ASM__ -c $< -o $@
    378 ifeq ($(PRECHECK),y)
    379         $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(GCC_CFLAGS) -D__ASM__
    380 endif
    381378
    382379%.o: %.s $(DEPEND)
    383380        $(AS) $(AFLAGS) $< -o $@
    384 ifeq ($(PRECHECK),y)
    385         $(JOBFILE) $(JOB) $< $@ as asm $(DEFS) $(CFLAGS) $(EXTRA_FLAGS)
    386 endif
    387381
    388382#
     
    392386test/fpu/%.o: test/fpu/%.c $(DEPEND)
    393387        $(CC) $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) -c $< -o $@
    394 ifeq ($(PRECHECK),y)
    395         $(JOBFILE) $(JOB) $< $@ cc test $(DEFS) $(CFLAGS) $(EXTRA_FLAGS)
     388ifeq ($(EXTRA_TOOL),stanse)
     389        ../tools/jobfile.py $(JOB) $< $@ $(DEFS) $(CFLAGS) $(EXTRA_FLAGS)
    396390endif
    397391
     
    401395%.o: %.c $(DEPEND)
    402396        $(CC) $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) $(FPU_NO_CFLAGS) -c $< -o $@
    403 ifeq ($(PRECHECK),y)
    404         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) $(FPU_NO_CFLAGS)
     397ifeq ($(EXTRA_TOOL),stanse)
     398        ../tools/jobfile.py $(JOB) $< $@ $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) $(FPU_NO_CFLAGS)
    405399endif
    406400
     
    412406        $(LD) -T $(LINK) $(LFLAGS) $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) $(EXTRA_OBJECTS) $(EMPTY_MAP) -o $@ -Map $(MAP_PREV)
    413407        $(OBJDUMP) -t $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) > $(DUMP)
    414         $(GENMAP) $(MAP_PREV) $(DUMP) $@
     408        tools/genmap.py $(MAP_PREV) $(DUMP) $@
    415409       
    416410        # Do it once again, this time to get correct even the symbols
     
    420414        $(LD) -T $(LINK) $(LFLAGS) $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) $(EXTRA_OBJECTS) $(SIZEOK_MAP) -o $@ -Map $(MAP_PREV)
    421415        $(OBJDUMP) -t $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) > $(DUMP)
    422         $(GENMAP) $(MAP_PREV) $(DUMP) $@
     416        tools/genmap.py $(MAP_PREV) $(DUMP) $@
    423417
    424418$(DEPEND): $(ARCH_INCLUDE) $(GENARCH_INCLUDE)
Note: See TracChangeset for help on using the changeset viewer.