On Fri, Dec 05, 2008 at 11:04:09AM -0700, Gary Thomas wrote:
> Just as I can extend the package set via 'rules' (thanks, BTW,
> this is a great improvement!) in the project, I'd like to extend
> the source repository.
>
> So far, I've not figured out how to make this work.
>
> Ideas? Comments?
Hmm, the best method I can imagine is to extend the PTXCONF_SETUP_SRCDIR
semantics to accept more than one path, similar to what is already possible with
PACKETNAME_URL = \
http://first_url/ \
http://second_url
The "get" macro would have to be patched to take care of the path
components then; a syntax similar to the $PATH variable sounds good -
colon separated paths with a "first hit matches" policy.
That way you could set
PTXCONF_SETUP_SRCDIR="${PTXDIST_WORKSPACE}/src:${PTXDIST_TOPDIR}/src"
and packages in the workspace's src dir would then be found first, if
not available the fallback would be the global packet pool.
rsc
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Peiner Straße 6-8, 31137 Hildesheim, Germany
Phone: +49-5121-206917-0 | Fax: +49-5121-206917-5555
--
ptxdist mailing list
[email protected]