Gentoo Archives: gentoo-embedded

From: Natanael Copa <mlists@××××××.org>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] dynamic linked init and initrd
Date: Wed, 04 Aug 2004 16:26:04
Message-Id: 41110E17.5060403@tanael.org
In Reply to: Re: [gentoo-embedded] dynamic linked init and initrd by Mike Frysinger
1 Mike Frysinger wrote:
2
3 >On Wednesday 04 August 2004 11:54 am, Natanael Copa wrote:
4 >
5 >
6 >>bin/busybox
7 >>bin/sh
8 >>lib/libm.so.0
9 >>lib/libcrypt.so.0
10 >>lib/libc.so.0
11 >>lib/ld-uClibc.so.0
12 >>hello
13 >>dev/console
14 >>sbin/ldconfig
15 >>
16 >>
17 >
18 >are the lib files actually files or symlinks ? ive copied the symlinks over
19 >once or twice by accident :)
20 >
21 >
22 Thanks! I realized that just after I posted it.
23
24 Any suggestions on how to grab the files that the links points to in my
25 Makefile?
26
27 I used
28
29 BB_FILES = bin/busybox bin/sh $(shell ldd $(LIVE)/bin/busybox | awk
30 '{print $$3}' | sed 's:^/::')
31
32 to grab the files so it grabbed only the links.
33
34 I don't want to manually update my makefile everytime there is a new uclibc.
35
36 --
37 Natanael Copa
38
39
40 --
41 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] dynamic linked init and initrd Mike Frysinger <vapier@g.o>