use of make functions while building libraries in depots
Pirmin Duss
pirmin.duss at gapfruit.com
Mon Jun 4 11:09:40 CEST 2018
Hello,
While debugging the build error in adalib I observe, that the content of
a file created by the library make file contains incorrect path information:
The line below should write the path to the sources of the ADA runtime
library in to a file:
$(VERBOSE)$(shell echo $(CONTRIB_DIR)/gcc-$(shell echo $(call
_hash_of_port,gcc) | cut -d" " -f1)/src/noux-pkg/gcc/gcc/ada >
$(ADA_RTS)/ada_source_path)
when I inspect the created file it contains the following:
/gcc-/src/noux-pkg/gcc/gcc/ada
Some questions arise from this situation:
1) is it ideal to use the source in the contrib directory while building
depots or should all source be copied in to the src package?
and depending on the answer to the above question:
2) when using the source from contrib how to use the functions while
building depots?
3) when copying all source in to the src package, how to handle the
changes required to the make file for the library?
best regards, Pirmin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.genode.org/pipermail/users/attachments/20180604/20a66a16/attachment.sig>
More information about the users
mailing list