Added some stuff to compile

This commit is contained in:
Gitea 2020-12-01 17:39:05 -06:00
parent b40777bcc4
commit 349576a175

View file

@ -29,22 +29,39 @@ LIBK_CPPFLAGS:=$(LIBK_CPPFLAGS) $(KERNEL_ARCH_CPPFLAGS)
FREEOBJS=\ FREEOBJS=\
$(ARCH_FREEOBJS) \ $(ARCH_FREEOBJS) \
math/cos.o \
math/cosf.o \
math/cosl.o \
math/fabs.o \
math/fabsf.o \
math/fabsl.o \
stdio/printf.o \ stdio/printf.o \
stdio/putchar.o \ stdio/putchar.o \
stdio/puts.o \ stdio/puts.o \
stdlib/abort.o \ stdlib/abort.o \
stdlib/abs.o \
stdlib/div.o \
stdlib/labs.o \
stdlib/ldiv.o \
stdlib/llabs.o \
stdlib/lldiv.o \
stdlib/rand.o \
string/memcmp.o \ string/memcmp.o \
string/memcpy.o \ string/memcpy.o \
string/memmove.o \ string/memmove.o \
string/memset.o \ string/memset.o \
string/strcmp.o \
string/strcspn.o \
string/strtok.o \
string/strlen.o \ string/strlen.o \
time/time.o
HOSTEDOBJS=\ HOSTEDOBJS=\
$(ARCH_HOSTEDOBJS) \ $(ARCH_HOSTEDOBJS)
OBJS=\ OBJS=\
$(FREEOBJS) \ $(FREEOBJS) \
$(HOSTEDOBJS) \ $(HOSTEDOBJS)
LIBK_OBJS=$(FREEOBJS:.o=.libk.o) LIBK_OBJS=$(FREEOBJS:.o=.libk.o)
@ -85,7 +102,7 @@ install-headers:
cp -R include/. $(DESTDIR)$(INCLUDEDIR)/. cp -R include/. $(DESTDIR)$(INCLUDEDIR)/.
install-libs: $(BINARIES) install-libs: $(BINARIES)
mkdir -p $(DESTDIR)$(INCLUDEDIR) mkdir -p $(DESTDIR)$(LIBDIR)
cp $(BINARIES) $(DESTDIR)$(LIBDIR) cp $(BINARIES) $(DESTDIR)$(LIBDIR)
-include $(OBJS:.o=.d) -include $(OBJS:.o=.d)