Displaying 6 results from an estimated 6 matches for "cmd_mktokens".
2019 Jan 25
0
[klibc:update-dash] dash: Change mktokens back to creating token.h itself
...ed, 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) && sh $(srctree)/$(src)/mktokens)
$(obj)/token.h: $(src)/mktokens
$(call if_changed,mktokens)
diff --git a/usr/dash/mktokens b/usr/dash/mktokens
index 8fbcef1b..43d76ce1 100644
--- a/usr/dash/mktokens...
2020 Mar 28
0
[klibc:update-dash] dash: Change mktokens back to creating token.h itself
...ed, 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) && sh $(srctree)/$(src)/mktokens)
$(obj)/token.h: $(src)/mktokens
$(call if_changed,mktokens)
diff --git a/usr/dash/README.dash b/usr/dash/README.dash
index e33335a5..f45d28be 100644
--- a/usr/dash/REA...
2006 Feb 15
0
Unable to build linux-2.6-klibc with O=
...llowing patch to fix this issue:
Signed-Off-By: Luca Tettamanti <kronos@kronoz.cjb.net>
(in case you want it)
diff --git a/usr/dash/Kbuild b/usr/dash/Kbuild
index 4e75324..452d066 100644
--- a/usr/dash/Kbuild
+++ b/usr/dash/Kbuild
@@ -66,8 +66,8 @@ $(obj)/check:
# Generate token.h
quiet_cmd_mktokens = GEN $@
- cmd_mktokens = cd $(obj); sh $(srctree)/$<
-$(obj)/token.h: $(src)/mktokens
+ cmd_mktokens = cd $(obj); sh $<
+$(obj)/token.h: $(srctree)/usr/dash/mktokens
$(call cmd,mktokens)
# Generate builtins.def
The problem is that when building without O= $(src) contains...
2006 Apr 11
6
klibc kbuild status
Hi hpa & others.
Following is a list of issues that I hope to be addressed soon so
we are in even better shape for -mm inclusion.
1) rebuild initramfs when content changes.
> It is a simple matter of copying in usr/Makefile from the latest
> -linus kernel and replace the 10 first lines with the content from
> klibc Kbuild file.
2) havesyscalls.h is not deleted after make
2019 Jan 25
0
[klibc:update-dash] [SHELL] Optimize dash -c "command" to avoid a fork
...d/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_cmd_mkbuiltins_def = GEN...
2020 Mar 28
0
[klibc:update-dash] dash: [SHELL] Optimize dash -c "command" to avoid a fork
...d/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_cmd_mkbuiltins_def = GEN...