On Sat, Aug 6, 2011 at 10:37 AM, Koen Kooi <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Op 05-08-11 23:30, Andrea Adami schreef: >> * from meta-zaurus * reworked in meta-smartphones/meta-zaurus >> >> Signed-off-by: Andrea Adami <[email protected]> --- >> meta-oe/classes/klibc.bbclass | 9 +++++++++ 1 files changed, 9 >> insertions(+), 0 deletions(-) create mode 100644 >> meta-oe/classes/klibc.bbclass >> >> diff --git a/meta-oe/classes/klibc.bbclass b/meta-oe/classes/klibc.bbclass >> new file mode 100644 index 0000000..d684367 --- /dev/null +++ >> b/meta-oe/classes/klibc.bbclass @@ -0,0 +1,9 @@ +# klcc-cross depends on >> klibc +DEPENDS =+ "klcc-cross" + +export CC=${TARGET_PREFIX}klcc > > please put quotes around that
sure, was somehow overlooked > >> +# reset inherited OE flags to avoid e.g. ggdb3 and keep size small +export >> CFLAGS="" +export CPPFLAGS="" +export LDFLAGS="" > > Stripping takes care of ggdb3, so remove those The comment is misleading: see klcc.1 and klcc.in http://git.kernel.org/?p=libs/klibc/klibc.git;a=tree;f=klcc Anyhow, if you dare to comment out those lines today, then some recipes break (one atm). kexec-tools-klibc: ... klibc/include/stddef.h:9:3: error: #error "__KLIBC__ not defined, compiler invocation error!" > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (Darwin) > > iD8DBQFOPP06MkyGM64RGpERAiAKAJ4xqRH+AmjUGfb9z8DE3Q89+WGy7wCcD6HQ > cQKfreqlgsk+dRuwvyZSn1g= > =irwZ > -----END PGP SIGNATURE----- > > > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > Regards Andrea _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
