Merge remote-tracking branch 'Userspace/master'

This commit is contained in:
EnderIce2
2024-11-20 05:02:06 +02:00
104 changed files with 11117 additions and 1 deletions

6
Userspace/libs/Makefile Normal file
View File

@ -0,0 +1,6 @@
build:
# cp -r include/* ../out/include
make -C libgcc build
clean:
make -C libgcc clean

View File

View File

@ -0,0 +1,20 @@
# Config file
include ../../../Makefile.conf
NAME=gcc
OBJECT_NAME=lib$(NAME).a
OUTPUT_DIR=../../out/lib/
CC = ../../../$(COMPILER_PATH)/$(COMPILER_ARCH)gcc
CRTBEGIN_PATH = $(shell $(CC) -print-file-name=libgcc.a)
build: $(OBJECT_NAME)
$(OBJECT_NAME):
cp $(CRTBEGIN_PATH) $(OUTPUT_DIR)
clean: