Displaying 4 results from an estimated 4 matches for "cmd_genss".
2019 Jan 18
0
[klibc:master] alpha: Support building without glibc headers
...letion(-)
diff --git a/usr/klibc/arch/alpha/Kbuild b/usr/klibc/arch/alpha/Kbuild
index f5c30f3..a3f2706 100644
--- a/usr/klibc/arch/alpha/Kbuild
+++ b/usr/klibc/arch/alpha/Kbuild
@@ -34,7 +34,7 @@ $(addprefix $(obj)/,$(div-objs:.o=.S)): $(obj)/%.S: $(obj)/%.ss
$(call if_changed,regswap)
quiet_cmd_genss = DIV-CC $@
- cmd_genss = $(CC) $(DIVCFLAGS) $(FILE_CFLAGS) \
+ cmd_genss = $(CC) $(DIVCFLAGS) $(FILE_CFLAGS) $(KLIBCCPPFLAGS) \
-DNAME=$(basename $(notdir $@)) -S -o $@ $<
$(obj)/%.ss: $(obj)/divide.c
2019 Jan 25
0
[klibc:master] alpha: Fix division routine generation in out-of-tree build
...letion(-)
diff --git a/usr/klibc/arch/alpha/Kbuild b/usr/klibc/arch/alpha/Kbuild
index a3f2706..2e566eb 100644
--- a/usr/klibc/arch/alpha/Kbuild
+++ b/usr/klibc/arch/alpha/Kbuild
@@ -34,7 +34,8 @@ $(addprefix $(obj)/,$(div-objs:.o=.S)): $(obj)/%.S: $(obj)/%.ss
$(call if_changed,regswap)
quiet_cmd_genss = DIV-CC $@
- cmd_genss = $(CC) $(DIVCFLAGS) $(FILE_CFLAGS) $(KLIBCCPPFLAGS) \
+ cmd_genss = $(CC) $(DIVCFLAGS) $(FILE_CFLAGS) \
+ $(call flags,KLIBCCPPFLAGS) \
-DNAME=$(basename $(notdir $@)) -S -o $@ $<
$(obj)/%.ss: $(obj)/divide.c
2006 Jun 26
0
[klibc 21/43] alpha support for klibc
...23/g' -e 's/\$$99\b/$$16/g' < $< > $@
+
+# Use static pattern rule to avoid using a temporary file
+$(addprefix $(obj)/,$(DIVOBJS:.o=.S)): $(obj)/arch/$(KLIBCARCH)/%.S: \
+ $(obj)/arch/$(KLIBCARCH)/%.ss
+ $(call if_changed,regswap)
+
+quiet_cmd_genss = DIV-CC $@
+ cmd_genss = $(CC) $(DIVCFLAGS) $(FILE_CFLAGS) \
+ -DNAME=$(basename $(notdir $@)) -S -o $@ $<
+
+$(obj)/arch/$(KLIBCARCH)/%.ss: $(obj)/arch/$(KLIBCARCH)/divide.c
+ $(call if_changed,genss)
+
+$(obj)/arch/$(KLIBCARCH)/__divqu.ss: FILE_CFLAGS := -DSIGNED=...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In
particular, the patchset has been reorganized so as not to break
git-bisect.
Additionally, this updates the patch base to 2.6.17-git12
(d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main
difference on the klibc side is removal of obsolete code.
This is also available as a git tree at: