Skip to content

Commit ff92658

Browse files
marc-hbkv2019i
authored andcommitted
installer: fix staging error message when no firmware was built
Commit a4c8d4e ("Intel: remove XTOS support") stopped installer/GNUmakefile from building all XTOS firmware by default: nothing unless either SIGNED_list or UNSIGNED_list is passed on the command line. This didn't break CI which sets one of these parameters. But it resulted in a cryptic "test -e staging/sof" failure and lack of error message when trying to build by default. Add a one-line, explicit check. The comment doubles as an error message. Signed-off-by: Marc Herbert <[email protected]>
1 parent b9f331c commit ff92658

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

installer/GNUmakefile

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ STAGING_SOF_TPLG ?= staging/sof-tplg
7575
STAGING_TOOLS ?= staging/tools
7676

7777
stage: signed unsigned ldicts aliases topologies tools
78+
test -n "${UNSIGNED_list}${SIGNED_list}" # is there any FW to stage?
7879
ifneq (${STAGING_SOF_VERSION},${STAGING_SOF})
7980
ln -sfT sof${VERSION_SUFFIX} ${STAGING_SOF}
8081
test -e ${STAGING_SOF}

0 commit comments

Comments
 (0)