Displaying 20 results from an estimated 26 matches for "archclean".
2007 Feb 08
4
error when compiling zaptel-1.4
...9;
make -C /lib/modules/2.4.27-3-386/build
SUBDIRS=/usr/src/zaptel-1.4/datamods clean
make[2]: Entering directory `/usr/src/kernel-headers-2.4.27-3-386'
make: *** arch/i386/boot: No such file or directory. Stop.
make: Entering an unknown directorymake: Leaving an unknown
directorymake[2]: *** [archclean] Error 2
make[2]: Leaving directory `/usr/src/kernel-headers-2.4.27-3-386'
make[1]: *** [clean] Error 2
make[1]: Leaving directory `/usr/src/zaptel-1.4/datamods'
make: *** [clean] Error 2
any idea
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
...ctually
# included from the main Makefile, and that pathnames should be
# accordingly.
-#
-
-KLIBCARCHOBJS = \
- arch/$(KLIBCARCH)/setjmp.o \
- arch/$(KLIBCARCH)/syscall.o \
- arch/$(KLIBCARCH)/sigreturn.o \
- arch/$(KLIBCARCH)/vfork.o
-
-KLIBCARCHSOOBJS = $(patsubst %.o,%.lo,$(KLIBCARCHOBJS))
-
-archclean:
diff --git a/usr/klibc/socketcalls/Kbuild b/usr/klibc/socketcalls/Kbuild
index c106182..f0fc9a8 100644
--- a/usr/klibc/socketcalls/Kbuild
+++ b/usr/klibc/socketcalls/Kbuild
@@ -9,12 +9,12 @@ ifeq ($(clean),)
endif
# Listing of all .o files
-always := socketcalls.list
+always := klib.list
##...
2004 Jan 25
0
[PATCH] include /.emacs.d?
...basename $(notdir $@)) DIR=$*
+ $(MAKE) objects-$(basename $(notdir $@)) DIR=$*/
-STATIC = $(addsuffix .o,$(basename $(wildcard $(DIR)/*.[cS])))
+STATIC = $(addsuffix .o,$(basename $(wildcard $(DIR)*.[cS])))
objects-static: $(STATIC)
- touch $(DIR)/static.obj
+ touch $(DIR)static.obj
clean: archclean
find . -type f -a \( -name \*.[isoa] -o -name \*.l[iso] \) -print0 | xargs -0rt rm -f
@@ -139,6 +139,6 @@
bitsize:
@echo $(BITSIZE)
-ifneq ($(wildcard $(DIR)/.*.d),)
-include $(wildcard $(DIR)/.*.d)
+ifneq ($(wildcard $(DIR).*.d),)
+include $(wildcard $(DIR).*.d)
endif
2005 Nov 25
0
Fix syscalls with more than four arguments on parisc
...McMartin <kyle@parisc-linux.org>
diff --git a/klibc/arch/parisc/Makefile.inc b/klibc/arch/parisc/Makefile.inc
index 980a543..4fddf5f 100644
--- a/klibc/arch/parisc/Makefile.inc
+++ b/klibc/arch/parisc/Makefile.inc
@@ -14,6 +14,3 @@ ARCHOBJS = \
ARCHOOBJS = $(patsubst %o,%.lo,%(ARCHOBJS))
archclean:
-
-arch/$(ARCH)/syscall.o: arch/$(ARCH)/syscall.c
- $(CC) $(CFLAGS) -ffixed-r20 -c -o $@ $<
diff --git a/klibc/arch/parisc/syscall.S b/klibc/arch/parisc/syscall.S
new file mode 100644
index 0000000..a4f26f5
--- /dev/null
+++ b/klibc/arch/parisc/syscall.S
@@ -0,0 +1,36 @@
+/*
+ * arch/parisc/sys...
2005 Feb 13
0
[PATCH] make install support
...klibc/Makefile (revision 1009)
+++ klibc/Makefile (working copy)
@@ -152,6 +152,13 @@
objects-static: $(STATIC)
touch $(DIR)static.obj
+install-shared:
+ $(INSTALL) -d $(DESTDIR)$(SHLIBDIR)
+ $(INSTALL) -m 0755 klibc-`cat $(SOLIB).hash`.so $(DESTDIR)$(SHLIBDIR)
+
+install-static:
+ :
+
clean: archclean
find . -type f -a \( -name \*.[isoa] -o -name \*.l[iso] \) -print0 | xargs -0rt rm -f
rm -f *.a *.so *.hash *.syms *.stripped
Index: ipconfig/Makefile
===================================================================
--- ipconfig/Makefile (revision 1009)
+++ ipconfig/Makefile (working copy)
@...
2003 Dec 12
2
[PATCH] ppc64 support
...e.inc
--- klibc-0.92.orig/klibc/arch/ppc64/Makefile.inc 2002-08-13 04:04:47.000000000 +0000
+++ klibc-0.92/klibc/arch/ppc64/Makefile.inc 2003-12-12 21:54:45.000000000 +0000
@@ -7,4 +7,9 @@
# accordingly.
#
+ARCHOBJS = \
+ arch/$(ARCH)/setjmp.o
+
+ARCHSOOBJS = $(patsubst %.o,%.lo,$(ARCHOBJS))
+
archclean:
diff -p -purNx linux klibc-0.92.orig/klibc/arch/ppc64/crt0.S klibc-0.92/klibc/arch/ppc64/crt0.S
--- klibc-0.92.orig/klibc/arch/ppc64/crt0.S 2002-08-10 10:55:55.000000000 +0000
+++ klibc-0.92/klibc/arch/ppc64/crt0.S 2003-12-12 23:15:55.000000000 +0000
@@ -23,16 +23,10 @@ _start:
.globl ._start...
2006 Apr 18
1
[patch] sparc build fix
add object rules so that the division, remainder and friends get
really build on sparc, patch from Fabio M. Di Nitto <fabbione@ubuntu.com>.
reworked to apply on latest git tree.
Signed-off-by: maximilian attems <maks@sternwelten.at>
---
Has been since long in the Debian and Ubuntu klibc.
diff --git a/klibc/arch/sparc/Makefile.inc b/klibc/arch/sparc/Makefile.inc
index
2004 Sep 14
1
Re: got pointer wrong in shared klibc binary
...ch/ppc64/Makefile.inc 2004-09-15 12:10:35.090216287 +0930
@@ -13,4 +13,13 @@ ARCHOBJS = \
ARCHSOOBJS = $(patsubst %.o,%.lo,$(ARCHOBJS))
+INTERP_O = interp1.o
+
+interp.o: interp1.o klibc.got
+ $(LD) $(LDFLAGS) -r -o $@ interp1.o klibc.got
+
+klibc.got: $(SOHASH)
+ $(OBJCOPY) -j.got $< $@
+
archclean:
+ rm -f klibc.got
diff -urpN klibc-0.173/klibc/arch/ppc64/setjmp.S klibc/klibc/arch/ppc64/setjmp.S
--- klibc-0.173/klibc/arch/ppc64/setjmp.S 2003-12-13 14:09:13.000000000 +1030
+++ klibc/klibc/arch/ppc64/setjmp.S 2004-09-15 12:28:42.160328339 +0930
@@ -17,13 +16,33 @@ setjmp:
.globl setjmp
.gl...
2006 Jun 26
0
[klibc 26/43] m32r support for klibc
...is is actually
+# included from the main Makefile, and that pathnames should be
+# accordingly.
+#
+
+KLIBCARCHOBJS = \
+ arch/$(KLIBCARCH)/setjmp.o \
+ arch/$(KLIBCARCH)/syscall.o \
+ libgcc/__divdi3.o \
+ libgcc/__moddi3.o \
+ libgcc/__udivdi3.o \
+ libgcc/__umoddi3.o \
+ libgcc/__udivmoddi4.o
+
+archclean:
diff --git a/usr/klibc/arch/m32r/crt0.S b/usr/klibc/arch/m32r/crt0.S
new file mode 100644
index 0000000..568e5d8
--- /dev/null
+++ b/usr/klibc/arch/m32r/crt0.S
@@ -0,0 +1,24 @@
+#
+# arch/m32r/crt0.S
+#
+# Does arch-specific initialization and invokes __libc_init
+# with the appropriate arguments....
2006 Jun 26
0
[klibc 34/43] sh support for klibc
...efile -*-
+#
+# arch/sh/Makefile.inc
+#
+# Special rules for this architecture. Note that this is actually
+# included from the main Makefile, and that pathnames should be
+# accordingly.
+#
+
+ARCHOBJS = arch/sh/setjmp.o \
+ arch/sh/syscall.o
+
+ARCHSOOBJS = $(patsubst %.o,%.lo,$(ARCHOBJS))
+
+archclean:
diff --git a/usr/klibc/arch/sh/crt0.S b/usr/klibc/arch/sh/crt0.S
new file mode 100644
index 0000000..7f0a649
--- /dev/null
+++ b/usr/klibc/arch/sh/crt0.S
@@ -0,0 +1,27 @@
+#
+# arch/sh/crt0.S
+#
+# Does arch-specific initialization and invokes __libc_init
+# with the appropriate arguments.
+#
+# S...
2006 Jun 26
0
[klibc 36/43] sparc64 support for klibc
...#
+# Special rules for this architecture. Note that this is actually
+# included from the main Makefile, and that pathnames should be
+# accordingly.
+#
+
+KLIBCARCHOBJS = \
+ arch/$(KLIBCARCH)/pipe.o \
+ arch/$(KLIBCARCH)/setjmp.o \
+ arch/$(KLIBCARCH)/syscall.o \
+ arch/$(KLIBCARCH)/sysfork.o
+
+archclean:
diff --git a/usr/klibc/arch/sparc64/crt0.S b/usr/klibc/arch/sparc64/crt0.S
new file mode 100644
index 0000000..5faee7c
--- /dev/null
+++ b/usr/klibc/arch/sparc64/crt0.S
@@ -0,0 +1,2 @@
+#define TARGET_PTR_SIZE 64
+#include "../sparc/crt0i.S"
diff --git a/usr/klibc/arch/sparc64/pipe.S b/u...
2006 Jun 26
0
[klibc 27/43] m68k support for klibc
...ng normal inter-module
+# calls, and work on the memory models for this architecture
+# 2816 MB - normal binaries start at 2048 MB if I read the link
+# script right. Not sure if there is a fundamental reason
+# to not duck below the halfway point...
+KLIBCSHAREDFLAGS = -Ttext 0xb0000000
+
+archclean:
diff --git a/usr/klibc/arch/m68k/crt0.S b/usr/klibc/arch/m68k/crt0.S
new file mode 100644
index 0000000..fbf6f13
--- /dev/null
+++ b/usr/klibc/arch/m68k/crt0.S
@@ -0,0 +1,27 @@
+#
+# arch/m68k/crt0.S
+#
+# Does arch-specific initialization and invokes __libc_init
+# with the appropriate arguments....
2006 Jun 26
0
[klibc 30/43] parisc support for klibc
...nc
+#
+# Special rules for this architecture. Note that this is actually
+# included from the main Makefile, and that pathnames should be
+# accordingly.
+#
+
+KLIBCARCHOBJS = \
+ arch/$(KLIBCARCH)/setjmp.o \
+ arch/$(KLIBCARCH)/syscall.o
+
+KLIBCARCHOOBJS = $(patsubst %o,%.lo,%(KLIBCARCHOBJS))
+
+archclean:
diff --git a/usr/klibc/arch/parisc/crt0.S b/usr/klibc/arch/parisc/crt0.S
new file mode 100644
index 0000000..0922446
--- /dev/null
+++ b/usr/klibc/arch/parisc/crt0.S
@@ -0,0 +1,37 @@
+ .align 4
+
+ .import $global$, data
+ .import __libc_init, code
+
+ .global _start
+ .export _start, ENTRY
+ .typ...
2006 Jun 26
0
[klibc 31/43] ppc support for klibc
...athnames should be
+# accordingly.
+#
+
+KLIBCARCHOBJS = \
+ arch/$(KLIBCARCH)/setjmp.o \
+ arch/$(KLIBCARCH)/syscall.o \
+ libgcc/__divdi3.o \
+ libgcc/__moddi3.o \
+ libgcc/__udivdi3.o \
+ libgcc/__umoddi3.o \
+ libgcc/__udivmoddi4.o
+
+
+KLIBCARCHSOOBJS = $(patsubst %.o,%.lo,$(KLIBCARCHOBJS))
+
+archclean:
diff --git a/usr/klibc/arch/ppc/crt0.S b/usr/klibc/arch/ppc/crt0.S
new file mode 100644
index 0000000..85b6dca
--- /dev/null
+++ b/usr/klibc/arch/ppc/crt0.S
@@ -0,0 +1,23 @@
+#
+# arch/ppc/crt0.S
+#
+
+ .text
+ .align 4
+ .type _start, at function
+ .globl _start
+_start:
+ stwu 1,-16(1)
+ addi 3,...
2006 Jun 26
0
[klibc 32/43] ppc64 support for klibc
...ARCHOBJS = \
+ arch/$(KLIBCARCH)/setjmp.o \
+ arch/$(KLIBCARCH)/syscall.o
+
+KLIBCARCHSOOBJS = $(patsubst %.o,%.lo,$(KLIBCARCHOBJS))
+
+INTERP_O = interp1.o
+
+interp.o: interp1.o klibc.got
+ $(LD) $(KLIBCLDFLAGS) -r -o $@ interp1.o klibc.got
+
+klibc.got: $(SOHASH)
+ $(OBJCOPY) -j .got $< $@
+
+archclean:
+ rm -f klibc.got
diff --git a/usr/klibc/arch/ppc64/crt0.S b/usr/klibc/arch/ppc64/crt0.S
new file mode 100644
index 0000000..a7776a1
--- /dev/null
+++ b/usr/klibc/arch/ppc64/crt0.S
@@ -0,0 +1,32 @@
+#
+# arch/ppc64/crt0.S
+#
+# void _start(void)
+# {
+# /* Divine up argc, argv, and envp */
+#...
2006 Jun 26
0
[klibc 33/43] s390 support for klibc
...i3.o \
+ libgcc/__moddi3.o \
+ libgcc/__udivdi3.o \
+ libgcc/__umoddi3.o \
+ libgcc/__udivmoddi4.o
+
+else
+
+KLIBCARCHOBJS = \
+ arch/$(KLIBCARCHDIR)/setjmp.o \
+ arch/$(KLIBCARCHDIR)/mmap.o \
+ arch/$(KLIBCARCHDIR)/syscall.o
+
+endif
+
+KLIBCARCHSOOBJS = $(patsubst %.o,%.lo,$(KLIBCARCHOBJS))
+
+
+archclean:
diff --git a/usr/klibc/arch/s390/crt0.S b/usr/klibc/arch/s390/crt0.S
new file mode 100644
index 0000000..fd9237e
--- /dev/null
+++ b/usr/klibc/arch/s390/crt0.S
@@ -0,0 +1,35 @@
+#
+# arch/s390/crt0.S
+#
+# Does arch-specific initialization and invokes __libc_init
+# with the appropriate arguments....
2006 Jun 26
0
[klibc 23/43] cris support for klibc
...BITS=32 -DNAME=__Udiv -c -o $@ $<
+arch/$(KLIBCARCH)/__Mod.o: arch/$(KLIBCARCH)/divide.c
+ $(CC) $(CFLAGS) -DSIGNED=1 -DREM=1 -DBITS=32 -DNAME=__Mod -c -o $@ $<
+arch/$(KLIBCARCH)/__Div.o: arch/$(KLIBCARCH)/divide.c
+ $(CC) $(CFLAGS) -DSIGNED=1 -DREM=0 -DBITS=32 -DNAME=__Div -c -o $@ $<
+
+archclean:
diff --git a/usr/klibc/arch/cris/__negdi2.S b/usr/klibc/arch/cris/__negdi2.S
new file mode 100644
index 0000000..3cca9ed
--- /dev/null
+++ b/usr/klibc/arch/cris/__negdi2.S
@@ -0,0 +1,25 @@
+/*
+ * arch/cris/__negdi2.c
+ */
+
+/*
+ * In 2's complement arithmetric, -x == (~x + 1), so
+ * -{h,l}...
2004 Jun 23
4
CRIS port of klibc
...kefile.inc Thu Jun 10 08:59:15 2004
+++ ../klibc-0.146-modified/klibc/arch/cris/Makefile.inc Wed Jun 23
09:45:12 2004
@@ -14,6 +14,8 @@
libgcc/__moddi3.o \
libgcc/__udivdi3.o \
libgcc/__umoddi3.o \
- libgcc/__udivmoddi4.o
+ libgcc/__udivmoddi4.o \
+ libgcc/__negdi2.o \
+ libgcc/crisarith.o
archclean:
diff -urN ./klibc/arch/cris/crt0.S
../klibc-0.146-modified/klibc/arch/cris/crt0.S
--- ./klibc/arch/cris/crt0.S Thu Jun 10 08:59:15 2004
+++ ../klibc-0.146-modified/klibc/arch/cris/crt0.S Wed Jun 23 09:21:00
2004
@@ -10,9 +10,9 @@
.text
.balign 4
- .type __start,@function
- .globl __start
-__...
2004 Aug 13
1
[PATCH] make spotless update
make spotless leaves 2 generated files.
diff -purN klibc-0.159.orig/klibc/Makefile klibc-0.159/klibc/Makefile
--- klibc-0.159.orig/klibc/Makefile 2004-08-03 23:07:05.000000000 +0200
+++ klibc-0.159/klibc/Makefile 2004-08-13 22:23:35.696699671 +0200
@@ -156,6 +156,7 @@ clean: archclean
rm -f sha1hash errlist.c
spotless: clean
+ rm -f include/klibc/havesyscall.h syscalls.nrs
find . \( -name \*~ -o -name '.*.d' \) -not -type d -print0 | \
xargs -0rt rm -f
--
USB is for mice, FireWire is for men!
sUse lINUX ag, n?RNBERG
2006 Jun 26
0
[klibc 37/43] x86_64 support for klibc
...ctually
+# included from the main Makefile, and that pathnames should be
+# accordingly.
+#
+
+KLIBCARCHOBJS = \
+ arch/$(KLIBCARCH)/setjmp.o \
+ arch/$(KLIBCARCH)/syscall.o \
+ arch/$(KLIBCARCH)/sigreturn.o \
+ arch/$(KLIBCARCH)/vfork.o
+
+KLIBCARCHSOOBJS = $(patsubst %.o,%.lo,$(KLIBCARCHOBJS))
+
+archclean:
diff --git a/usr/klibc/arch/x86_64/crt0.S b/usr/klibc/arch/x86_64/crt0.S
new file mode 100644
index 0000000..6a5f335
--- /dev/null
+++ b/usr/klibc/arch/x86_64/crt0.S
@@ -0,0 +1,22 @@
+#
+# arch/x86_64/crt0.S
+#
+# Does arch-specific initialization and invokes __libc_init
+# with the appropriate ar...