Changes in kernel/Makefile [e8c5c11:c0699467] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/Makefile
re8c5c11 rc0699467 59 59 REAL_MAP = generic/src/debug/real_map 60 60 61 ABI_INCLUDE = generic/include/abi 61 62 ARCH_INCLUDE = generic/include/arch 62 63 GENARCH_INCLUDE = generic/include/genarch … … 75 76 76 77 clean: 77 rm -f $(DEPEND) $(DEPEND_PREV) $(RAW) $(BIN) $(MAP) $(JOB) $(MAP_PREV) $(DISASM) $(DUMP) $(REAL_MAP).* $(A RCH_INCLUDE) $(GENARCH_INCLUDE) arch/*/_link.ld arch/*/include/common.h78 rm -f $(DEPEND) $(DEPEND_PREV) $(RAW) $(BIN) $(MAP) $(JOB) $(MAP_PREV) $(DISASM) $(DUMP) $(REAL_MAP).* $(ABI_INCLUDE) $(ARCH_INCLUDE) $(GENARCH_INCLUDE) arch/*/_link.ld arch/*/include/common.h 78 79 find generic/src/ arch/*/src/ genarch/src/ test/ -name '*.o' -follow -exec rm \{\} \; 79 80 … … 329 330 endif 330 331 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 332 endif 371 333 … … 440 402 endif 441 403 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 404 %.o: %.c $(DEPEND) 458 405 $(CC) $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) $(FPU_NO_CFLAGS) $(if $(findstring $<,$(INSTRUMENTED_SOURCES)),$(INSTRUMENTATION)) -c -o $@ $< … … 486 433 $(GENMAP) $(MAP_PREV) $(DUMP) $@ 487 434 488 $(DEPEND): $(A RCH_INCLUDE) $(GENARCH_INCLUDE) $(COMMON_HEADER_ARCH)435 $(DEPEND): $(ABI_INCLUDE) $(ARCH_INCLUDE) $(GENARCH_INCLUDE) $(COMMON_HEADER_ARCH) 489 436 makedepend -f - -- $(DEPEND_DEFS) $(CFLAGS) -- $(ARCH_SOURCES) $(GENARCH_SOURCES) $(GENERIC_SOURCES) > $@ 2> /dev/null 490 437 -[ -f $(DEPEND_PREV) ] && diff -q $(DEPEND_PREV) $@ && mv -f $(DEPEND_PREV) $@ 491 438 439 $(ABI_INCLUDE): ../abi/include/ 440 ln -sfn ../../$< $@ 441 492 442 $(ARCH_INCLUDE): arch/$(KARCH)/include/ 493 443 ln -sfn ../../$< $@
Note:
See TracChangeset
for help on using the changeset viewer.