Displaying 4 results from an estimated 4 matches for "23809a3a".
2019 Jan 25
0
[klibc:update-dash] dash: Change mktokens back to creating token.h itself
...ch won't affect the following
commands generated by if_changed.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/Kbuild | 2 +-
usr/dash/mktokens | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/usr/dash/Kbuild b/usr/dash/Kbuild
index c0f8dcb5..23809a3a 100644
--- a/usr/dash/Kbuild
+++ b/usr/dash/Kbuild
@@ -38,7 +38,7 @@ $(addprefix $(obj)/, $(static/sh-y)): $(addprefix $(obj)/, $(gen-h-files))
# Generate token.h
targets += token.h
quiet_cmd_mktokens = GEN $@
- cmd_mktokens = sh $< > $@
+ cmd_mktokens = (cd $(obj) &&...
2020 Mar 28
0
[klibc:update-dash] dash: Change mktokens back to creating token.h itself
...commands generated by if_changed.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/Kbuild | 2 +-
usr/dash/README.dash | 1 -
usr/dash/mktokens | 2 +-
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/usr/dash/Kbuild b/usr/dash/Kbuild
index c0f8dcb5..23809a3a 100644
--- a/usr/dash/Kbuild
+++ b/usr/dash/Kbuild
@@ -38,7 +38,7 @@ $(addprefix $(obj)/, $(static/sh-y)): $(addprefix $(obj)/, $(gen-h-files))
# Generate token.h
targets += token.h
quiet_cmd_mktokens = GEN $@
- cmd_mktokens = sh $< > $@
+ cmd_mktokens = (cd $(obj) &&...
2019 Jan 25
0
[klibc:update-dash] [SHELL] Optimize dash -c "command" to avoid a fork
...h/eval.c | 6 +-----
usr/dash/eval.h | 4 ++++
usr/dash/main.c | 2 +-
usr/dash/mktokens | 9 ++++++---
usr/dash/parser.c | 5 +++--
usr/dash/parser.h | 8 ++++++++
8 files changed, 31 insertions(+), 14 deletions(-)
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)): $(addprefix $(obj)/, $(gen-h-files))
-# Generate token.h
-ta...
2020 Mar 28
0
[klibc:update-dash] dash: [SHELL] Optimize dash -c "command" to avoid a fork
...ged, 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)): $(addprefix $(obj)/, $(gen-h-files))
-# Generate token.h
-ta...