Changes in kernel/Makefile [97186929:a1e7e78] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/Makefile

    r97186929 ra1e7e78  
    9494        -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \
    9595        -finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \
    96         -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \
     96        -std=gnu99 -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \
    9797        -Werror-implicit-function-declaration -Wwrite-strings \
    9898        -pipe
     
    134134#
    135135AFLAGS =
    136 LFLAGS = -N -T $(LINK) -M
     136LFLAGS = -n -T $(LINK) -M
    137137
    138138#
     
    228228        generic/src/syscall/syscall.c \
    229229        generic/src/syscall/copy.c \
     230        generic/src/mm/reserve.c \
    230231        generic/src/mm/buddy.c \
    231232        generic/src/mm/frame.c \
     
    328329        endif
    329330       
    330         ifeq ($(CONFIG_FPU),y)
    331                 ifeq ($(KARCH),ia32)
    332                         TEST_FPU1 = y
    333                         TEST_SSE1 = y
    334                         GENERIC_SOURCES += test/fpu/fpu1_x86.c
    335                 endif
    336                
    337                 ifeq ($(KARCH),amd64)
    338                         TEST_FPU1 = y
    339                         TEST_SSE1 = y
    340                         GENERIC_SOURCES += test/fpu/fpu1_x86.c
    341                 endif
    342                
    343                 ifeq ($(KARCH),ia64)
    344                         TEST_FPU1 = y
    345                         GENERIC_SOURCES += test/fpu/fpu1_ia64.c
    346                 endif
    347                
    348                 ifeq ($(KARCH),mips32)
    349                         TEST_MIPS2 = y
    350                 endif
    351         endif
    352        
    353         ifneq ($(TEST_FPU1),y)
    354                 GENERIC_SOURCES += test/fpu/fpu1_skip.c
    355         endif
    356        
    357         ifeq ($(TEST_SSE1),y)
    358                 GENERIC_SOURCES += test/fpu/sse1.c
    359         else
    360                 GENERIC_SOURCES += test/fpu/sse1_skip.c
    361         endif
    362        
    363         ifeq ($(TEST_MIPS2),y)
    364                 GENERIC_SOURCES += test/fpu/mips2.c
    365         else
    366                 GENERIC_SOURCES += test/fpu/mips2_skip.c
    367         endif
    368        
    369331endif
    370332
     
    439401endif
    440402
    441 #
    442 # The FPU tests are the only objects for which we allow the compiler to generate
    443 # FPU instructions.
    444 #
    445 
    446 test/fpu/%.o: test/fpu/%.c $(DEPEND)
    447         $(CC) $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) -c -o $@ $<
    448 ifeq ($(PRECHECK),y)
    449         $(JOBFILE) $(JOB) $< $@ cc test $(DEFS) $(CFLAGS) $(EXTRA_FLAGS)
    450 endif
    451 
    452 #
    453 # Ordinary objects.
    454 #
    455 
    456403%.o: %.c $(DEPEND)
    457404        $(CC) $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) $(FPU_NO_CFLAGS) $(if $(findstring $<,$(INSTRUMENTED_SOURCES)),$(INSTRUMENTATION)) -c -o $@ $<
Note: See TracChangeset for help on using the changeset viewer.