Changeset 82d56184 in mainline for kernel/Makefile


Ignore:
Timestamp:
2011-06-01T21:05:19Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5cac9cd
Parents:
682cfceb (diff), 5d1b3aa (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/Makefile

    r682cfceb r82d56184  
    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
     
    329329        endif
    330330       
    331         ifeq ($(CONFIG_FPU),y)
    332                 ifeq ($(KARCH),ia32)
    333                         TEST_FPU1 = y
    334                         TEST_SSE1 = y
    335                         GENERIC_SOURCES += test/fpu/fpu1_x86.c
    336                 endif
    337                
    338                 ifeq ($(KARCH),amd64)
    339                         TEST_FPU1 = y
    340                         TEST_SSE1 = y
    341                         GENERIC_SOURCES += test/fpu/fpu1_x86.c
    342                 endif
    343                
    344                 ifeq ($(KARCH),ia64)
    345                         TEST_FPU1 = y
    346                         GENERIC_SOURCES += test/fpu/fpu1_ia64.c
    347                 endif
    348                
    349                 ifeq ($(KARCH),mips32)
    350                         TEST_MIPS2 = y
    351                 endif
    352         endif
    353        
    354         ifneq ($(TEST_FPU1),y)
    355                 GENERIC_SOURCES += test/fpu/fpu1_skip.c
    356         endif
    357        
    358         ifeq ($(TEST_SSE1),y)
    359                 GENERIC_SOURCES += test/fpu/sse1.c
    360         else
    361                 GENERIC_SOURCES += test/fpu/sse1_skip.c
    362         endif
    363        
    364         ifeq ($(TEST_MIPS2),y)
    365                 GENERIC_SOURCES += test/fpu/mips2.c
    366         else
    367                 GENERIC_SOURCES += test/fpu/mips2_skip.c
    368         endif
    369        
    370331endif
    371332
     
    440401endif
    441402
    442 #
    443 # The FPU tests are the only objects for which we allow the compiler to generate
    444 # FPU instructions.
    445 #
    446 
    447 test/fpu/%.o: test/fpu/%.c $(DEPEND)
    448         $(CC) $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) -c -o $@ $<
    449 ifeq ($(PRECHECK),y)
    450         $(JOBFILE) $(JOB) $< $@ cc test $(DEFS) $(CFLAGS) $(EXTRA_FLAGS)
    451 endif
    452 
    453 #
    454 # Ordinary objects.
    455 #
    456 
    457403%.o: %.c $(DEPEND)
    458404        $(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.