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=\
$(ARCH_FREEOBJS) \
math/cos.o \
math/cosf.o \
math/cosl.o \
math/fabs.o \
math/fabsf.o \
math/fabsl.o \
stdio/printf.o \
stdio/putchar.o \
stdio/puts.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/memcpy.o \
string/memmove.o \
string/memset.o \
string/strcmp.o \
string/strcspn.o \
string/strtok.o \
string/strlen.o \
time/time.o
HOSTEDOBJS=\
$(ARCH_HOSTEDOBJS) \
$(ARCH_HOSTEDOBJS)
OBJS=\
$(FREEOBJS) \
$(HOSTEDOBJS) \
$(HOSTEDOBJS)
LIBK_OBJS=$(FREEOBJS:.o=.libk.o)
@ -85,7 +102,7 @@ install-headers:
cp -R include/. $(DESTDIR)$(INCLUDEDIR)/.
install-libs: $(BINARIES)
mkdir -p $(DESTDIR)$(INCLUDEDIR)
mkdir -p $(DESTDIR)$(LIBDIR)
cp $(BINARIES) $(DESTDIR)$(LIBDIR)
-include $(OBJS:.o=.d)