Skip to content

Commit

Permalink
installer: new BUILD_TOOLS directory
Browse files Browse the repository at this point in the history
The tools build is independent from the firmware build. The next step is
to invoke it from here if needed.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
  • Loading branch information
marc-hb authored and lgirdwood committed Feb 26, 2021
1 parent ffaeaaa commit f9545c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions installer/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ endif

# Our input: build_*_?cc/ directories
BUILDS_ROOT ?= ../
BUILD_TOOLS ?= ${BUILDS_ROOT}/build_tools

STAGING_SOF ?= staging/sof
STAGING_SOF_VERSION := ${STAGING_SOF}${VERSION_SUFFIX}
Expand Down Expand Up @@ -85,7 +86,7 @@ ifneq (${USER_DESTDIR},)
# TODO: add more user space binaries: sof-ctl, probes,...
# absorbe scripts/sof-target-install.sh
# Requires ./scripts/build-tools.sh -l ...
rsync -a ${BUILDS_ROOT}/tools/build_tools/logger/sof-logger ${USER_DESTDIR}
rsync -a ${BUILD_TOOLS}/logger/sof-logger ${USER_DESTDIR}
endif

clean:
Expand Down Expand Up @@ -166,7 +167,7 @@ ${SIGNED_ALIASES}: ${STAGING_SOF_VERSION}/sof-%.ri:
topologies:
# This requires ./scripts/build-tools.sh -T ...
install ${INSTALL_OPTS} -t ${STAGING_SOF_TPLG}${VERSION_SUFFIX}/ \
${BUILDS_ROOT}/tools/build_tools/topology/sof-*.tplg
${BUILD_TOOLS}/topology/sof-*.tplg
ifneq (,${VERSION_SUFFIX})
ln -sfT sof-tplg${VERSION_SUFFIX} ${STAGING_SOF_TPLG}
test -e ${STAGING_SOF_TPLG}
Expand Down

0 comments on commit f9545c8

Please sign in to comment.