Permalink
Browse files

build: more fixes for autogen.sh script

autogen.sh script supports the file .config.args where I put the
following:
--with-stage1=src
--with-stage1-systemd-src=/home/tixxdz/code/github-work/systemd/systemd
--with-stage1-systemd-version=master

So it prints at the end these arguments especially for us who build from
source, this way we don't have to remember them each time.

Signed-off-by: Djalal Harouni <djalal@endocode.com>
  • Loading branch information...
Djalal Harouni
Djalal Harouni committed Aug 17, 2015
1 parent 929f9af commit 7f7a648c4e54657fe3d31557cf1dc052549c783a
Showing with 3 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +2 −2 autogen.sh
View
@@ -3,6 +3,7 @@
/autom4te.cache
/config.log
/config.status
/.config.args
/configure
/makelib/variables.mk
/build-rkt-*
View
@@ -9,13 +9,13 @@ autoreconf --install --warnings=all --force
args=""
if [ -f "$topdir/.config.args" ]; then
args="$args $(cat $topdir/.config.args)"
args="$(cat $topdir/.config.args)"
fi
echo
echo "----------------------------------------------------------------"
echo "Initialized build system. For a common configuration please run:"
echo "----------------------------------------------------------------"
echo
echo "$topdir/configure --with-stage1=coreos $args"
echo "$topdir/configure $args"
echo

0 comments on commit 7f7a648

Please sign in to comment.