Hi Ceriel,
C. Jacobs wrote,
Hi,
Thank you for CONFIG_BUILD_NLS in .config.
Entware-ng make (on OS X) now bumps over the toolchain/uClibc/headers (which in fact is
uClibc-ng-1.0.16) section:
...
make[3] -C toolchain/kernel-headers install
make[3] -C toolchain/uClibc/headers prepare
make[3] -C toolchain/uClibc/headers compile
make[3] -C toolchain/uClibc/headers install
make[3] -C toolchain/gcc/initial prepare
...
I still would like to learn.
Where is the hook (read: correct location) to insert an additional include
(-I../../include) property for the "toolchain/uClibc/headers install” phase?
Good question. Normally UCLIBC_EXTRA_CFLAGS can be used.
In this case I would add this to toolchain/uClibc/headers/Makefile .
And/or where does the for
make -C extra/locale locale_headers gcc
../../extra/locale/gen_locale.c -o ../..//extra/locale/gen_locale
added
-I../..//extra/locale
derives from?
For the host tools you need to extend BUILD_CFLAGS.
As mentioned earlier, it is a problem compiling a host tool in
uClibc-ng required to generate some metadata. And I am not entirely
sure this can be compiled _and_ used on a MacOS X host, without
modifications of the code.
best regards
Waldemar