mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
make.sh: Allow to permanently set TARGET_ARCH in .config.
This commit is contained in:
8
make.sh
8
make.sh
@@ -65,12 +65,16 @@ mkdir $BASEDIR/log/ 2>/dev/null
|
||||
# Include funtions
|
||||
. tools/make-functions
|
||||
|
||||
configure_target "default"
|
||||
|
||||
if [ -f .config ]; then
|
||||
. .config
|
||||
fi
|
||||
|
||||
if [ -n "${TARGET_ARCH}" ]; then
|
||||
configure_target "${TARGET_ARCH}"
|
||||
else
|
||||
configure_target "default"
|
||||
fi
|
||||
|
||||
if [ -z $EDITOR ]; then
|
||||
for i in nano emacs vi; do
|
||||
EDITOR=$(which $i 2>/dev/null)
|
||||
|
||||
Reference in New Issue
Block a user