Re: create recipe for ADA library

2018-06-13 Thread Martin Stein
El 01/06/18 a las 16:11, Pirmin Duss escribió:
> An other point that doesn't look nice currently is the way used to
> obtain the location of the port sources [2]. Is there a way to get rid
> of the "../ports/" part?

Btw. there are some good examples in the ports/recipes directory like
vim [1].

Martin

[1] ports/recipes/src/vim/content.mk



signature.asc
Description: OpenPGP digital signature
___
Genode users mailing list
users@lists.genode.org
https://lists.genode.org/listinfo/users

Re: create recipe for ADA library

2018-06-03 Thread Martin Stein
Hi Pirmin,

El 01/06/18 a las 16:11, Pirmin Duss escribió:
> An other point that doesn't look nice currently is the way used to
> obtain the location of the port sources [2]. Is there a way to get rid
> of the "../ports/" part?
There exists the select_from_ports function that is used widely. Examples:

ARORA_PORT_DIR := $(call select_from_ports,arora)

LIBPNG_DIR := $(call select_from_ports,libpng)/src/lib/libpng

Martin



signature.asc
Description: OpenPGP digital signature
___
Genode users mailing list
users@lists.genode.org
https://lists.genode.org/listinfo/users