rootfiles: change MACHINE to xxxMACHINExxx

berkeley has a file that nane contain MACHINE wich should not
replaced by the build architecture.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2020-05-10 17:27:28 +00:00
parent c6744d67f0
commit 289a86a320
82 changed files with 1215 additions and 1100 deletions

View File

@@ -37,26 +37,26 @@ grep -r '/i586' ./config/rootfiles/ --exclude gcc --exclude-dir oldcore --exclud
if [ "${?}" == "0" ]; then
echo "Error! '/i586' in rootfiles files found!"
grep -r '/i586' ./config/rootfiles/ --exclude gcc --exclude-dir oldcore --exclude-dir i586
echo "Replace by MACHINE !"
echo "Replace by xxxMACHINExxx !"
fi
grep -r '/x86_64' ./config/rootfiles/ --exclude gcc --exclude *linux* --exclude-dir oldcore --exclude-dir x86_64 >/dev/null 2>&1
if [ "${?}" == "0" ]; then
echo "Error! '/x86_64' in rootfiles files found!"
grep -r '/x86_64' ./config/rootfiles/ --exclude gcc --exclude *linux* --exclude-dir oldcore --exclude-dir x86_64
echo "Replace by MACHINE !"
echo "Replace by xxxMACHINExxx !"
fi
grep -r '/armv5tel' ./config/rootfiles/ --exclude gcc --exclude-dir oldcore --exclude-dir armv5tel >/dev/null 2>&1
if [ "${?}" == "0" ]; then
echo "Error! '/armv5tel' in rootfiles files found!"
grep -r '/armv5tel' ./config/rootfiles/ --exclude gcc --exclude-dir oldcore --exclude-dir armv5tel
echo "Replace by MACHINE !"
echo "Replace by xxxMACHINExxx !"
fi
grep -r '/aarch64' ./config/rootfiles/ --exclude gcc --exclude-dir oldcore --exclude-dir aarch64 >/dev/null 2>&1
if [ "${?}" == "0" ]; then
echo "Error! '/aarch64' in rootfiles files found!"
grep -r '/aarch64' ./config/rootfiles/ --exclude gcc --exclude-dir oldcore --exclude-dir aarch64
echo "Replace by MACHINE !"
echo "Replace by xxxMACHINExxx !"
fi