path fixes

This commit is contained in:
Olivier 2024-03-20 12:48:35 +01:00
parent b4d0aac0eb
commit 4c532763b9

View File

@ -5,7 +5,6 @@ DISABLE=1 # disable some options
ENABLE=1 # enable some options ENABLE=1 # enable some options
SECURED=1 # enable/disable security SECURED=1 # enable/disable security
UARCH=1 # apply more uarch patch UARCH=1 # apply more uarch patch
FKH=0 # apply fast kernel headers patch
CLANG=1 # use Clang compiler (if not, use GCC) CLANG=1 # use Clang compiler (if not, use GCC)
O3=1 # use -O3 vs -O2 (optimisation) O3=1 # use -O3 vs -O2 (optimisation)
ARCH="x86-64-v4" # target architecture (uarch patch) ARCH="x86-64-v4" # target architecture (uarch patch)
@ -336,11 +335,12 @@ doMoreUarch() {
if [ $UARCH == 1 ]; then if [ $UARCH == 1 ]; then
cd $WORKDIR cd $WORKDIR
if [ -f $CURRENT/more-uarches-for-kernel.patch ]; then
doEchoStep "Apply 'uarches' patch" doEchoStep "Apply 'uarches' patch"
if [ -f .config ]; then if [ -f .config ]; then
cp .config .config.uarches.before cp .config .config.uarches.before
fi fi
patch -p1 <../../../more-uarches-for-kernel.patch patch -p1 <$CURRENT/more-uarches-for-kernel.patch
result=$? result=$?
if [ ! result==0 ]; then if [ ! result==0 ]; then
echo ">>> Error in 'uarches' !" echo ">>> Error in 'uarches' !"
@ -348,6 +348,7 @@ doMoreUarch() {
fi fi
cp .config .config.uarches.after cp .config .config.uarches.after
fi fi
fi
} }
# Apply Fast Kernel Header patch # Apply Fast Kernel Header patch