mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-13 12:32:59 +02:00
make.sh: Cleanup of polluted environment
The build environment is using a number of variables which occasionally conflicted with some other build systems. This patch cleans that up by renaming some variables and later unexporting them in the lfs files. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -31,7 +31,7 @@ for dir in $@; do
|
||||
continue
|
||||
fi
|
||||
|
||||
for exclude in ${dir}/${MACHINE}/*; do
|
||||
for exclude in ${dir}/${BUILD_ARCH}/*; do
|
||||
[ -f "${exclude}" ] || continue
|
||||
EXCLUDE="$EXCLUDE $exclude"
|
||||
done
|
||||
@@ -52,4 +52,4 @@ for dir in $@; do
|
||||
done
|
||||
|
||||
cat ${FILELIST} 2>/dev/null | grep -v ^# | sort | uniq | \
|
||||
sed -e "s/KVER/${KVER}/g" -e "s/MACHINE/${MACHINE}/g" -e "s/BUILDTARGET/${BUILDTARGET}/g"
|
||||
sed -e "s/KVER/${KVER}/g" -e "s/MACHINE/${BUILD_ARCH}/g" -e "s/BUILDTARGET/${BUILDTARGET}/g"
|
||||
|
||||
Reference in New Issue
Block a user