[Sound-open-firmware] [PATCH 2/3] scripts: Add build-soft.sh
Dylan Reid
dgreid at chromium.org
Wed Apr 25 19:05:47 CEST 2018
On Wed, Apr 25, 2018 at 9:59 AM Pierre-Louis Bossart <
pierre-louis.bossart at linux.intel.com> wrote:
> On 4/25/18 11:48 AM, Dylan Reid wrote:
> > Make it easier to build the topology when working in sof.git. This
> > script automates the change of directory to and from soft.git.
> > It also makes building in a container easier because all scripts can
> > execute from the same working directory.
> >
> > Signed-off-by: Dylan Reid <dgreid at chromium.org>
> > ---
> > scripts/build-soft.sh | 7 +++++++
> > 1 file changed, 7 insertions(+)
> > create mode 100755 scripts/build-soft.sh
> >
> > diff --git a/scripts/build-soft.sh b/scripts/build-soft.sh
> > new file mode 100755
> > index 0000000..ee89352
> > --- /dev/null
> > +++ b/scripts/build-soft.sh
> > @@ -0,0 +1,7 @@
> > +#!/bin/sh
> > +cd ../soft.git
> > +./autogen.sh
> > +./configure --prefix=/home/sof/bin
> is this prefix necessary, or can be replaced by ~/bin ?
Thanks, that can be ~/bin, I'll fix it.
Or I could skip the install step in this script. That avoids needing to
specify the path and still avoids a sudo.
For my workflow that's find since I just want the topologies generated,
would that be sufficient for others too?
> > +make -j$(nproc)
> > +make install
> > +cd ../sof.git
> >
More information about the Sound-open-firmware
mailing list