# Build script to build GDB with all targets enabled.
-# Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# Copyright (C) 2008-2021 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
-e <regexp> Regular expression for selecting the targets to build.
--force Force rebuild.
-j <makejobs> Run <makejobs> in parallel. Passed to make.
- On a single cpu machine, 2 is recommended.
+ On a single cpu machine, 2 is recommended.
Arguments:
<srcdir> Source code directory.
<builddir> Build directory.
makejobs="-j $1"
;;
--clean )
- # Shall the build directory be deleted after processing?
- clean=true
- ;;
+ # Shall the build directory be deleted after processing?
+ clean=true
+ ;;
-e )
# A regular expression for selecting targets
shift
make=${MAKE:-make}
MAKE=${make}
export MAKE
-# We dont want GDB do dump cores.
+# We don't want GDB do dump cores.
ulimit -c 0
# Just make sure we're in the right directory.