search for: token_var

Displaying 3 results from an estimated 3 matches for "token_var".

Did you mean: token_vars
2020 Mar 28
0
[klibc:update-dash] dash: [SHELL] Optimize dash -c "command" to avoid a fork
....c | 5 +++-- usr/dash/parser.h | 8 ++++++++ 9 files changed, 33 insertions(+), 15 deletions(-) diff --git a/usr/dash/.gitignore b/usr/dash/.gitignore index 480952fe..16a0cce9 100644 --- a/usr/dash/.gitignore +++ b/usr/dash/.gitignore @@ -11,3 +11,4 @@ sh sh.shared syntax.[ch] token.h +token_vars.h diff --git a/usr/dash/Kbuild b/usr/dash/Kbuild index 23809a3a..f9c0b287 100644 --- a/usr/dash/Kbuild +++ b/usr/dash/Kbuild @@ -35,13 +35,19 @@ targets := static/sh static/sh.g shared/sh shared/sh.g $(gen-o-files) # explicit dependency for all generated files $(addprefix $(obj)/, $(static/sh-y)...
2019 Jan 25
0
[klibc:update-dash] [SHELL] Optimize dash -c "command" to avoid a fork
...sh static/sh.g shared/sh shared/sh.g $(gen-o-files) # explicit dependency for all generated files $(addprefix $(obj)/, $(static/sh-y)): $(addprefix $(obj)/, $(gen-h-files)) -# Generate token.h -targets += token.h +$(obj)/mksyntax: $(obj)/token.h + +# Generate token{,_vars}.h +targets += token.h token_vars.h quiet_cmd_mktokens = GEN $@ cmd_mktokens = (cd $(obj) && sh $(srctree)/$(src)/mktokens) $(obj)/token.h: $(src)/mktokens $(call if_changed,mktokens) +# side effect.. +$(obj)/token_vars.h: $(obj)/token.h + $(Q): + # Generate builtins.def targets += builtins.def quiet_cm...
2011 Aug 03
2
Kbuild dash headers generation
...--exclude="usr/dash/Makefile.am" --exclude="usr/dash/mksignames.c" \ --whitespace=fix -k -i -s ../dash/000X-foo.patch (needs git am exclude support, which is in the second patch and easy) The real trouble I have is that mkbuiltins is now generating a third include file (token_vars.h) and had trouble to understand current hacks for it already generating 2 different files. thank you very much for looking into this. -- maks -------------- next part -------------- A non-text attachment was scrubbed... Name: 0002-SHELL-Optimize-dash-c-command-to-avoid-a-fork.patch Type: tex...