Displaying 20 results from an estimated 6000 matches similar to: "[PATCH] Makefile dependencies"
2003 Nov 29
1
[PATCH] ash not make -j safe, make spotless updates
some files depend on nodes.h, but there is no dependency for that fact.
olaf@mandarine:~/klibc-0.87> grep -Er 'include.*nodes.h' ash/ | sed 's-^[^/]\+/\([^.]*\).*-\1.o-' | xargs echo OBJ_NODES =
OBJ_NODES = cd.o eval.o exec.o expand.o jobs.o main.o nodes.o options.o parser.o redir.o show.o trap.o var.o
make spotless doesnt work reliable, the patch adds a few more targets.
Is
2003 Dec 12
2
[PATCH] ppc64 support
Marcus Meissner did the ppc64 port, I did the update for crt0.S.
Now ash does not segfault, at least.
diff -p -purNx linux klibc-0.92.orig/Makefile klibc-0.92/Makefile
--- klibc-0.92.orig/Makefile 2003-12-01 18:50:24.000000000 +0000
+++ klibc-0.92/Makefile 2003-12-12 23:18:23.000000000 +0000
@@ -20,4 +20,4 @@ clean:
spotless:
@set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
- rm -f
2003 Nov 28
2
[PATCH] update crt0.S on ppc32
The _start stuff was changed some time ago, but ppc was not updated.
This fixes klibc for me. I'm not sure what to do with the second arg to
__libc_init, so I set it to 0..
However, looking at other static binaries, there is more stuff todo.
diff -p -purNx linux -x '.*.d' -x syscalls -x socketcalls y/klibc-0.87/klibc/arch/ppc/crt0.S klibc-0.87/klibc/arch/ppc/crt0.S
---
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
This fixes a long standing issue where it was not possible to
do "make usr/klibc/arch/x86_64/longjmp.o" in the kernel.
The principle is that all .o files to be part of klibc are listed
with klib-y. For each directory a klib.list file is made that specify
all .o file and the final AR then adds all .o files to create libc.a.
This patch introduce the infrastructure and converts x86_64 to
2004 Aug 23
1
[PATCH] fix alpha build
alpha does not compile right now:
arch/alpha/crt0.S: Assembler messages:
arch/alpha/crt0.S:21: Warning: .ent directive without matching .end
arch/alpha/crt0.S:21: Error: can't resolve `0' {.text section} - `L0' {.text section}
make[1]: *** [arch/alpha/crt0.o] Error 1
It still doesnt work with that change, ash cant run external binaries,
./ash/sh
$ ls
ls: error 1
diff -p -purN
2003 Oct 04
0
klibc: kbuild improvements
Hi Bryan and other klibc people.
I have taken a stamp on the Makefiles for klibc, this is what
I came up with.
1) No longer recompile on every invocation
2) Correct checking on dependencies
3) Simpler makefile syntax (almost all over the place)
I compile-time tested it only.
Two open issues:
a) Do we realy use .a files for initramfs. I renemed that to the
executable.
b) I renamed
2005 Feb 07
2
tiny patch for klibc 0.198
Hi folks,
attached you can find a tiny patch for klibc-0.198
to get rid of the symbolic link pointing to the
kernel sources, and to get rid of some obsolete
rebuilds during incremental.
Feel free to include it.
Regards
Harri
-------------- next part --------------
diff -ur old/klibc-0.198/MCONFIG klibc-0.198/MCONFIG
--- old/klibc-0.198/MCONFIG 2004-10-14 06:32:24.000000000 +0200
+++
2005 Jul 26
2
[PATCH] better kbuild integration
Following patch improves integration with kbuild.
With a future kernel (2.6.14-rc) it now has working support
for 'make clean'.
Included is an example of how to compile an early userspace program.
I selected gzip as the most simple one for this - and left out all
the links to different names (gunzip etc.)
Before proceeding with this I need some inputs on what functionality
is required by
2003 Nov 27
1
[PATCH] do not use -R on ppc to link shared objects
The *.shared targets require -shared on powerpc, and -R leads to linker
errors.
This patch makes the -R an arch define. ia64 at least requires -R.
--- ash/Makefile
+++ ash/Makefile 2003/11/27 15:04:02
@@ -36,7 +36,7 @@
$(STRIP) $(PROG)
$(PROG).shared: $(OBJS) $(LIBS)
- $(LD) $(LDFLAGS) -o $(PROG).shared -e main $(KLIBSRC)/interp.o $(OBJS) -R $(KLIBSRC)/libc.so $(LIBGCC)
+ $(LD) $(LDFLAGS)
2005 Feb 13
0
[PATCH] make install support
This adds make install support, either static or shared, default is
static to avoid dependency mess.
Index: MCONFIG
===================================================================
--- MCONFIG (revision 1009)
+++ MCONFIG (working copy)
@@ -45,6 +45,19 @@
CRTSHARED = $(KLIBOBJ)/interp.o
LIBSHARED = $(KLIBOBJ)/libc.so
+INSTALL = /usr/bin/install
+
+# offset during make install
+DESTDIR =
+
2002 Aug 18
1
initramfs scripts + cpio archive stuff
--32u276st3Jlj2kUU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi all (two) klibc hackers! 8)
Here's the stuff I've been using to build an initramfs image and run it
on one of my machines. Unfortunately, the "init" script contains hard
coded information about where to find the root, etc, but it should give
people a working base to start from.
It
2004 Sep 11
1
[PATCH] fchdir syscall, opendir function
This adds the fchdir syscall and a new opendir() function.
diff -purNx linux ../klibc-0.172/klibc/SYSCALLS.def ./klibc/SYSCALLS.def
--- ../klibc-0.172/klibc/SYSCALLS.def 2004-08-25 23:56:49.000000000 +0200
+++ ./klibc/SYSCALLS.def 2004-09-11 20:46:10.187551992 +0200
@@ -86,6 +86,7 @@ int access(const char *, int)
int link(const char *, const char *)
int unlink(const char *)
int chdir(const
2020 Jul 28
1
[PATCH] mk/efi: add -znoseparate-code to LD_FLAGS for EFI builds
More recent versions of the GNU linker (>= 2.31) create a separate
code "PT_LOAD" segment by default (as of
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=f6aec96dce1ddbd8961a3aa8a2925db2021719bb).
Building syslinux EFI images with this -zseparate-code enabled creates
broken EFI images, since efi/wrapper.c only copies the first PT_LOAD
segment to the EFI.
This patch adds
2006 Nov 06
0
[LLVMdev] LLVM and libc
I have been browsing through the newlib documentation at
<http://sources.redhat.com/newlib/> and pondering about
how newlib relates to LLVM. Comments welcome, again.
As I see it, there are basically two parts of libc that need to be
considered. Much of libc is stuff like atoi(), isalpha(), etc. which are
just convenience routines written in ANSI C. For these, it should be
sufficient to
2005 Jul 28
0
[PATCH] Use KLIBSRC + KLIBINC consistent in kbuild files
Factor out all kernel specific path's (those containing usr/)
into two variables: KLIBSRC + KLIBINC. Set the variables
in a kernel spcific Kbuild file.
Sam
commit e6f989c1597a837f4aecbd11083697184c089611
tree 93f88d7564bb9e4d4bc95fd455b842d0bd0fdc54
parent 8151f4a98f82fba4fe3b949f49da4ab8bba71501
author Sam Ravnborg <sam@mars.(none)> Thu, 28 Jul 2005 23:36:07 +0200
committer Sam
2006 Jan 08
1
[mips] doesn't compile on little-endian
When I compile klibc on little-endian mips, I get:
KLIBCLD klibc/libc.so
ld: klibc/arch/mips/crt0.o: compiled for a little endian system and target is big endian
ld: klibc/arch/mips/crt0.o: endianness incompatible with that of the selected emulation
ld: failed to merge target specific data of file klibc/arch/mips/crt0.o
When I change "elf32-tradbigmips" to
2005 Feb 25
1
klibc wrapper
Hi
I've managed to compile klibc 0.198 and run the hello world program.
How can I compile my own program?
Can someone give an example or provide a simple wrapper program for doing this?
like uclibc did with their earlier versions.
I looked at the make process and did a bit reading and figure out this much:
gcc -Wp,[preprocessor options] -MT,[target_name_I_think] tests/hello.o,
2004 Oct 16
1
181 and current Linus
klibc appears to build ok, some of the apps fail
gcc -Wp,-MD,.fstype.d -mregparm=3 -DREGPARM=3 -march=i386 -Os -g
-falign-functions=0 -falign-jumps=0 -falign-loops=0 -nostdinc
-iwithprefix include -D__KLIBC__ -DBITSIZE=32 -I../include/arch/i386
-I../include/bits32 -I../include -I../linux/include -I../linux/include2
-W -Wall -c -o fstype.o fstype.c
fstype.c: In function `romfs_image':
2006 Jun 26
0
[klibc 24/43] i386 support for klibc
The parts of klibc specific to the i386 architecture.
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
commit bd0599e5290ca1a16bb7a68f7c362d395c612eb3
tree 8f33afdd02a14c22e7a3984da2bad13184e3f729
parent 84f6a72f42cf41e32daa59871a0b5424572093e4
author H. Peter Anvin <hpa at zytor.com> Sun, 25 Jun 2006 16:58:21 -0700
committer H. Peter Anvin <hpa at zytor.com> Sun, 25 Jun
2018 Mar 02
5
[PATCH 0/5] Various MIPS fixes
Hi,
I noticed that klibc started crashing on 64-bit MIPS and in my quest to fix the
bug I got a bit carried away and fixed a few other things as well. Here are
various miscellaneous MIPS patches, although the first patch is the important
one.
Thanks,
James
*** BLURB HERE ***
James Cowgill (5):
mips64: compile with -mno-abicalls
mips: use -Ttext-segment when linking shared library