Include only mlibc

This commit is contained in:
Alex 2023-03-23 05:25:18 +02:00
parent 1062aed6d7
commit c63330527d
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD
4 changed files with 6 additions and 14 deletions

2
.gitignore vendored
View File

@ -4,5 +4,3 @@
*.elf *.elf
out/ out/
.dccache .dccache
newlib-cygwin
mlibc

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "apps/user/games/doomgeneric"] [submodule "apps/user/games/doomgeneric"]
path = apps/user/games/doomgeneric path = apps/user/games/doomgeneric
url = https://github.com/Fennix-Project/doomgeneric.git url = https://github.com/Fennix-Project/doomgeneric.git
[submodule "mlibc"]
path = mlibc
url = https://github.com/Fennix-Project/mlibc.git

View File

@ -2,18 +2,8 @@
include ../Makefile.conf include ../Makefile.conf
build: build:
ifeq ($(NEWLIB), 1) ifneq ($(NEWLIB),1)
make -C mlibc build
ifeq (,$(wildcard ./newlib-cygwin))
git clone https://github.com/Fennix-Project/newlib-cygwin.git newlib-cygwin
endif
else ifeq ($(MLIBC), 1)
ifeq (,$(wildcard ./newlib-cygwin))
git clone https://github.com/Fennix-Project/mlibc.git mlibc
endif
else else
mkdir -p out mkdir -p out
mkdir -p out/system mkdir -p out/system

1
mlibc Submodule

@ -0,0 +1 @@
Subproject commit 1f0bf43a1d259bc1627a0e377226219dc57269e9