We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35763e8 commit 7211b8bCopy full SHA for 7211b8b
scripts/Makefile.headersinst
@@ -54,8 +54,12 @@ quiet_cmd_remove = REMOVE $(unwanted)
54
cmd_remove = rm -f $(unwanted-file)
55
56
quiet_cmd_check = CHECK $(printdir) ($(words $(all-files)) files)
57
- cmd_check = $(PERL) $< $(INSTALL_HDR_PATH)/include $(SRCARCH) \
58
- $(addprefix $(install)/, $(all-files)); \
+# Headers list can be pretty long, xargs helps to avoid
+# the "Argument list too long" error.
59
+ cmd_check = for f in $(all-files); do \
60
+ echo "$(install)/$${f}"; done \
61
+ | xargs \
62
+ $(PERL) $< $(INSTALL_HDR_PATH)/include $(SRCARCH); \
63
touch $@
64
65
PHONY += __headersinst __headerscheck
0 commit comments