linux-next: build warning after merge of the scsi tree
Hi all,
After merging the scsi tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning:
drivers/scsi/Makefile:197: FORCE prerequisite is missing
Exposed by commit
0fc7db58e2a6 ("kbuild: warn if FORCE is missing for if_changed(_dep,_rule) and filechk")
I don't know why this warning only appeared after the merge of the scsi tree, since the offending line has been in this Makefile since 2017
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 6 lines · Stephen Rothwell
Hi all,
After merging the scsi tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:
Quoted 8 lines
drivers/scsi/Makefile:197: FORCE prerequisite is missingExposed by commit
0fc7db58e2a6("kbuild: warn if FORCE is missing forif_changed(_dep,_rule)and filechk")I don't know why this warning only appeared after the merge of the scsi tree, since the offending line has been in this
Makefilesince 2017
You are doing incremental builds.
Presumably, because include/scsi/scsi_devinfo.h is touched by the following commit in the scsi tree.
commit f591a2e0548da88130c7b1c79f1f735273adc683
Author: Martin Kepplinger <[email protected]> Date: Sun Jul 4 09:54:01 2021 +0200
Kbuild rebuilds scsi_devinfo_tbl.o due to the
timestamp update, then displays the warning.
If the scsi maintainers want to fix this issue,
a patch is already there.
https://lore.kernel.org/patchwork/patch/1478797/
Since this is a bug, it can get in the scsi tree
any time.
Signature · 2 lines
Best Regards Masahiro Yamada