mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
git.sh: remove unused xgcc linking feature
the "xtree" variable is used by projects such as u-boot, to export a CROSS_COMPILE variable specifying prefix for gnu compilers, and for building the named coreboot tree. for example, xtree can be "default", which is then the coreboot tree downloaded, for use of crossgcc. however, it is also used to symlink identical versions of crossgcc between coreboot trees. this latter feature was only needed for fam15h boards which were previously split between two mostly identical coreboot trees, that were later merged into a single tree, and this feature is therefore no longer used. remove this dead code, to reduce bloat in the build system. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -61,12 +61,6 @@ git_prep()
|
||||
done < "$mdir/module.list"; :
|
||||
fi
|
||||
|
||||
if [ "$project" = "coreboot" ] && [ -n "$xtree" ] && [ $# -gt 2 ] && \
|
||||
[ "$xtree" != "$tree" ]; then (
|
||||
x_ cd "$tmpgit/util" && x_ rm -Rf crossgcc
|
||||
x_ ln -s "../../$xtree/util/crossgcc" crossgcc
|
||||
) || $err "$_loc: !xgcc link"; fi
|
||||
|
||||
[ "$_loc" != "$XBMK_CACHE/repo/$project" ] && \
|
||||
[ "$XBMK_RELEASE" = "y" ] && rmgit "$tmpgit"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user