From cb11fe67e38037797a216c3ad0609b83df110753 Mon Sep 17 00:00:00 2001 From: Wouter Wijsman Date: Sun, 24 Nov 2024 14:16:36 +0100 Subject: [PATCH] Include newlib and pthread-embedded licenses --- scripts/003-newlib.sh | 4 ++++ scripts/004-pthread-embedded.sh | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/scripts/003-newlib.sh b/scripts/003-newlib.sh index 6baff82..311852f 100755 --- a/scripts/003-newlib.sh +++ b/scripts/003-newlib.sh @@ -58,6 +58,10 @@ make --quiet -j $PROC_NR all make --quiet -j $PROC_NR install-strip make --quiet -j $PROC_NR clean +# Copy license file +mkdir -p $PSPDEV/psp/share/licenses/newlib +cp ../COPYING.NEWLIB $PSPDEV/psp/share/licenses/newlib/ + ## Store build information BUILD_FILE="${PSPDEV}/build.txt" if [[ -f "${BUILD_FILE}" ]]; then diff --git a/scripts/004-pthread-embedded.sh b/scripts/004-pthread-embedded.sh index dc7e9da..4703792 100755 --- a/scripts/004-pthread-embedded.sh +++ b/scripts/004-pthread-embedded.sh @@ -45,6 +45,10 @@ make --quiet -j $PROC_NR all make --quiet -j $PROC_NR install make --quiet -j $PROC_NR clean +# Copy license file +mkdir -p $PSPDEV/psp/share/licenses/pthread-embedded +cp ../../COPYING.* ../../README.md $PSPDEV/psp/share/licenses/pthread-embedded/ + ## Store build information BUILD_FILE="${PSPDEV}/build.txt" if [[ -f "${BUILD_FILE}" ]]; then