Flashtargets in Makefile umgeschrieben

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
fran
Interessierter
Interessierter
Beiträge: 64
Registriert: Mittwoch 26. April 2006, 09:44

Beitrag von fran »

Hallo,

hab dein Problem jetzt verstanden, aber leider keine Lösung. Habs grad nochmal bei mir getestet, da werden beide libs ohne Zutun ins root-neutrino-squashfs/lib kopiert. Vermutlich hängt's mit der library reduction in reduce-libs.mk zusammen. Dort wird ein mklibs.py ($MKLIB) aufgerufen. Barf schreibt dazu:

$(flashprefix)/root-gui-filesystem/lib/ld.so.1
Due to the limited flash memory of the dBox (8 MiB), it is not feasible just to include all possible shared libraries in the image. This step, called "library reduction", makes sure that only actually needed libraries are included, and that they are reduced in size as much as possible. Executable files and shared libraries are stripped (= symbols removed) to reduce their size. The necessary libraries are gathered together, mainly from cdkroot, as needed. The work is carried out by the mklibs program. Unneeded files are deleted. The file ld.so.1 is the runtime loader, and serves as a "marker file" for make, in that the make target has many more "side effects" than just creating this file. The target is defined in the file make/reduce-libs.mk.

Dort werden übrigens die lufs-libs auch manuell reinkopiert und nicht aus den binaries und libraries reduziert.

Was ist dein Hostsystem?

fran
flasher
Developer
Beiträge: 467
Registriert: Dienstag 15. Juli 2003, 10:58

Beitrag von flasher »

Hi

Ich verwende Debian Etch.

Aber wenn die Libs (libuuid & librt) bei Dir ins Image kopiert werden bei mir (Standart CVS) nicht dann bin ich mit meiner Weissheit mehr als am Ende und verbleibe mit der CustomScript Lösung.


Gruß
flasher