Hello Menno,
On Tue, Jun 21, 2016 at 01:01:55PM +0200, Menno Valkema wrote:
However in some cases this is not sufficient. For example lwip requires an additional include directive:
INC_DIR += $(REP_DIR)/src/lib/lwip/include (line from repos/libports/src/test/lwip/http_srv_static/target.mk)
If I remove this line from target.mk the test component compiles without error.
Leaving out this line will result in a compilation error of a local include file. Looking at various library ports (mbedtls, polarssl, curl, and probably more) we see similar behavior. Usually some library configuration header file should be added manually to the include path to make things work.
Could you please be more specific about the error message or maybe point out an example in the public sources that breaks if the INC_DIR directive is removed?
Regards