Added stub newlib and mlibc

This commit is contained in:
Alex
2022-12-08 10:01:21 +02:00
parent 397d4f9c5e
commit e9d766e735
3 changed files with 20 additions and 9 deletions

View File

@ -1,4 +1,20 @@
# Config file
include ../Makefile.conf
build:
ifeq ($(NEWLIB), 1)
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
mkdir -p out
mkdir -p out/system
mkdir -p out/system/lib
@ -6,6 +22,7 @@ build:
make --quiet -C libc build
make --quiet -C libs build
make --quiet -C apps build
endif
prepare:
$(info Nothing to prepare)