Changes in kernel/Makefile [e8c5c11:a1e7e78] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/Makefile
re8c5c11 ra1e7e78 329 329 endif 330 330 331 ifeq ($(CONFIG_FPU),y)332 ifeq ($(KARCH),ia32)333 TEST_FPU1 = y334 TEST_SSE1 = y335 GENERIC_SOURCES += test/fpu/fpu1_x86.c336 endif337 338 ifeq ($(KARCH),amd64)339 TEST_FPU1 = y340 TEST_SSE1 = y341 GENERIC_SOURCES += test/fpu/fpu1_x86.c342 endif343 344 ifeq ($(KARCH),ia64)345 TEST_FPU1 = y346 GENERIC_SOURCES += test/fpu/fpu1_ia64.c347 endif348 349 ifeq ($(KARCH),mips32)350 TEST_MIPS2 = y351 endif352 endif353 354 ifneq ($(TEST_FPU1),y)355 GENERIC_SOURCES += test/fpu/fpu1_skip.c356 endif357 358 ifeq ($(TEST_SSE1),y)359 GENERIC_SOURCES += test/fpu/sse1.c360 else361 GENERIC_SOURCES += test/fpu/sse1_skip.c362 endif363 364 ifeq ($(TEST_MIPS2),y)365 GENERIC_SOURCES += test/fpu/mips2.c366 else367 GENERIC_SOURCES += test/fpu/mips2_skip.c368 endif369 370 331 endif 371 332 … … 440 401 endif 441 402 442 #443 # The FPU tests are the only objects for which we allow the compiler to generate444 # 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 endif452 453 #454 # Ordinary objects.455 #456 457 403 %.o: %.c $(DEPEND) 458 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.