forked from Imagelibrary/rtems
Correct patch handling magic.
This commit is contained in:
@@ -48,15 +48,12 @@ target_alias=$1
|
||||
|
||||
. ./$CFG
|
||||
|
||||
patchn=-1
|
||||
if test -n "${gcc_patch_version}"; then
|
||||
patchn=`expr $patchn + 1`
|
||||
PATCH1="Patch${patchn}: gcc-${gcc_version}-rtems-${gcc_patch_version}.diff"
|
||||
PATCH0="Patch0: gcc-${gcc_version}-rtems-${gcc_patch_version}.diff"
|
||||
fi
|
||||
|
||||
if test -n "${newlib_patch_version}"; then
|
||||
patchn=`expr $patchn + 1`
|
||||
PATCH3="Patch${patchn}: newlib-${newlib_version}-rtems-${newlib_patch_version}.diff"
|
||||
PATCH1="Patch1: newlib-${newlib_version}-rtems-${newlib_patch_version}.diff"
|
||||
fi
|
||||
|
||||
# note that the variables in the gccnewlib directory are actually the same
|
||||
|
||||
Reference in New Issue
Block a user