Rev 4556 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4556 | Rev 4669 | ||
---|---|---|---|
Line 341... | Line 341... | ||
341 | -include Makefile.depend |
341 | -include Makefile.depend |
342 | 342 | ||
343 | clean: |
343 | clean: |
344 | -rm -f kernel.bin kernel.raw kernel.map kernel.map.pre kernel.objdump kernel.disasm generic/src/debug/real_map.bin Makefile.depend* generic/include/arch generic/include/genarch arch/$(KARCH)/_link.ld |
344 | -rm -f kernel.bin kernel.raw kernel.map kernel.map.pre kernel.objdump kernel.disasm generic/src/debug/real_map.bin Makefile.depend* generic/include/arch generic/include/genarch arch/$(KARCH)/_link.ld |
345 | find generic/src/ arch/*/src/ genarch/src/ test/ -name '*.o' -follow -exec rm \{\} \; |
345 | find generic/src/ arch/*/src/ genarch/src/ test/ -name '*.o' -follow -exec rm \{\} \; |
- | 346 | ifeq ($(PLATFORM),arm32) |
|
- | 347 | rm -f arch/$(KARCH)/include/machine.h |
|
- | 348 | endif |
|
346 | for arch in arch/* ; do \ |
349 | for arch in arch/* ; do \ |
347 | [ -e $$arch/_link.ld ] && rm $$arch/_link.ld 2>/dev/null ; \ |
350 | [ -e $$arch/_link.ld ] && rm $$arch/_link.ld 2>/dev/null ; \ |
348 | done ; exit 0 |
351 | done ; exit 0 |
349 | 352 | ||
350 | archlinks: |
353 | archlinks: |
351 | ln -sfn ../../arch/$(KARCH)/include/ generic/include/arch |
354 | ln -sfn ../../arch/$(KARCH)/include/ generic/include/arch |
352 | ln -sfn ../../genarch/include/ generic/include/genarch |
355 | ln -sfn ../../genarch/include/ generic/include/genarch |
- | 356 | ifeq ($(PLATFORM),arm32) |
|
- | 357 | ln -sfn mach/$(MACHINE)/$(MACHINE).h arch/$(KARCH)/include/machine.h |
|
- | 358 | endif |
|
353 | 359 | ||
354 | depend: archlinks |
360 | depend: archlinks |
355 | -makedepend -f - -- $(DEPEND_DEFS) $(CFLAGS) -- $(ARCH_SOURCES) $(GENARCH_SOURCES) $(GENERIC_SOURCES) > Makefile.depend 2> /dev/null |
361 | -makedepend -f - -- $(DEPEND_DEFS) $(CFLAGS) -- $(ARCH_SOURCES) $(GENARCH_SOURCES) $(GENERIC_SOURCES) > Makefile.depend 2> /dev/null |
356 | 362 | ||
357 | arch/$(KARCH)/_link.ld: arch/$(KARCH)/_link.ld.in |
363 | arch/$(KARCH)/_link.ld: arch/$(KARCH)/_link.ld.in |