29,15 → 29,14 |
## Common compiler flags |
# |
|
-include ../../../Makefile.config |
LIBC_PREFIX = ../libc |
|
LIBC_PREFIX = ../libc |
## Setup toolchain |
# |
|
include $(LIBC_PREFIX)/Makefile.toolchain |
|
CFLAGS +=-Iinclude -Iarch/$(ARCH)/include/ |
CFLAGS +=-Iinclude -Iarch/$(UARCH)/include/ |
|
## Sources |
# |
68,7 → 67,7 |
find generic/ -name '*.o' -follow -exec rm \{\} \; |
|
depend: |
-makedepend -f - -- $(DEFS) $(CFLAGS) -- $(GENERIC_SOURCES) > Makefile.depend 2> /dev/null |
-makedepend -f - -- $(DEPEND_DEFS) $(CFLAGS) -- $(GENERIC_SOURCES) > Makefile.depend 2> /dev/null |
|
libsoftfloat.a: depend $(ARCH_OBJECTS) $(GENERIC_OBJECTS) |
$(AR) rc libsoftfloat.a $(ARCH_OBJECTS) $(GENERIC_OBJECTS) |