Hi Tomasz,
Am 15.02.2016 um 22:59 schrieb Tomasz Gajewski:
I would like to be able to do:
./configure --host=genode-x86 && make
As far as I know, we currently do not issue 'configure' through the ports mechanism. Instead the customized config.* files of the ports are provided. An example for this is libav:
libports/src/lib/libav/config.h libports/src/lib/libav/config.mak
Then the Genode sided directory is added to the include paths, so the config header applies when building the port and the config makefile is included and applied in the Genode config:
libports/lib/mk/av.inc: ... INC_DIR += $(REP_DIR)/src/lib/libav ... include $(REP_DIR)/src/lib/libav/config.mak SRC_C += $(OBJS:.o=.c) SRC_C += $(OBJS-yes:.o=.c) ...
Cheers, Martin