mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-02 02:49:15 +00:00
Merge remote-tracking branch 'Userspace/master'
This commit is contained in:
6
Userspace/libs/Makefile
Normal file
6
Userspace/libs/Makefile
Normal file
@ -0,0 +1,6 @@
|
||||
build:
|
||||
# cp -r include/* ../out/include
|
||||
make -C libgcc build
|
||||
|
||||
clean:
|
||||
make -C libgcc clean
|
0
Userspace/libs/include/.gitkeep
Normal file
0
Userspace/libs/include/.gitkeep
Normal file
20
Userspace/libs/libgcc/Makefile
Normal file
20
Userspace/libs/libgcc/Makefile
Normal 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:
|
||||
|
Reference in New Issue
Block a user