Changeset 544a2e4 in mainline for kernel/Makefile
- Timestamp:
- 2011-05-30T21:37:43Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7b712b60
- Parents:
- 18ba2e4f (diff), 0743493a (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/Makefile
r18ba2e4f r544a2e4 94 94 -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \ 95 95 -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 \ 97 97 -Werror-implicit-function-declaration -Wwrite-strings \ 98 98 -pipe … … 134 134 # 135 135 AFLAGS = 136 LFLAGS = - N-T $(LINK) -M136 LFLAGS = -n -T $(LINK) -M 137 137 138 138 # … … 228 228 generic/src/syscall/syscall.c \ 229 229 generic/src/syscall/copy.c \ 230 generic/src/mm/reserve.c \ 230 231 generic/src/mm/buddy.c \ 231 232 generic/src/mm/frame.c \ … … 328 329 endif 329 330 330 ifeq ($(CONFIG_FPU),y)331 ifeq ($(KARCH),ia32)332 TEST_FPU1 = y333 TEST_SSE1 = y334 GENERIC_SOURCES += test/fpu/fpu1_x86.c335 endif336 337 ifeq ($(KARCH),amd64)338 TEST_FPU1 = y339 TEST_SSE1 = y340 GENERIC_SOURCES += test/fpu/fpu1_x86.c341 endif342 343 ifeq ($(KARCH),ia64)344 TEST_FPU1 = y345 GENERIC_SOURCES += test/fpu/fpu1_ia64.c346 endif347 348 ifeq ($(KARCH),mips32)349 TEST_MIPS2 = y350 endif351 endif352 353 ifneq ($(TEST_FPU1),y)354 GENERIC_SOURCES += test/fpu/fpu1_skip.c355 endif356 357 ifeq ($(TEST_SSE1),y)358 GENERIC_SOURCES += test/fpu/sse1.c359 else360 GENERIC_SOURCES += test/fpu/sse1_skip.c361 endif362 363 ifeq ($(TEST_MIPS2),y)364 GENERIC_SOURCES += test/fpu/mips2.c365 else366 GENERIC_SOURCES += test/fpu/mips2_skip.c367 endif368 369 331 endif 370 332 … … 439 401 endif 440 402 441 #442 # The FPU tests are the only objects for which we allow the compiler to generate443 # 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 endif451 452 #453 # Ordinary objects.454 #455 456 403 %.o: %.c $(DEPEND) 457 404 $(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.