From a1d641238851dbde00a37b7b203b110e786edd1d Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Wed, 2 Aug 2023 18:11:32 +0900 Subject: [PATCH] Add dummy commands to make qcom's external module fail Revert 7ce7e984ab2b218d6e92d5165629022fe2daf9ee and apply this instead. I see /bin/sh: Argument list too long Signed-off-by: Masahiro Yamada --- scripts/Makefile.lib | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 2270ed819a29..c481018d1b5f 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -559,3 +559,36 @@ define filechk_offsets echo ""; \ echo "#endif" endef + + +# These dummy commands are not used anywhere, but +# make qcom's external module fail to build. +# qcom's Makefile use bare 'export'. +# Having more and more shell commands may flood variable expansions. + +quiet_cmd_dummy1 = FOO $@ + cmd_dummy1 = cat $(real-prereqs) > $@ + +quiet_cmd_dummy2 = FOO $@ + cmd_dummy2 = cat $(real-prereqs) > $@ + +quiet_cmd_dummy3 = FOO $@ + cmd_dummy3 = cat $(real-prereqs) > $@ + +quiet_cmd_dummy4 = FOO $@ + cmd_dummy4 = cat $(real-prereqs) > $@ + +quiet_cmd_dummy5 = FOO $@ + cmd_dummy5 = cat $(real-prereqs) > $@ + +quiet_cmd_dummy6 = FOO $@ + cmd_dummy6 = cat $(real-prereqs) > $@ + +quiet_cmd_dummy7 = FOO $@ + cmd_dummy7 = cat $(real-prereqs) > $@ + +quiet_cmd_dummy8 = FOO $@ + cmd_dummy8 = cat $(real-prereqs) > $@ + +quiet_cmd_dummy9 = FOO $@ + cmd_dummy9 = cat $(real-prereqs) > $@ -- 2.39.2