pkg-generic: introduce _DL_SUBDIR
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Mon, 2 Apr 2018 14:57:56 +0000 (16:57 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 2 Apr 2018 15:48:56 +0000 (17:48 +0200)
commitddf3feb1047da7e728f89329f2eed6529bcf8636
treec8444e5d731c3cad9db026f4f2ff61978b7c8469
parent81321edb0b8ceb5c7a92d069a7df7af7e67904e1
pkg-generic: introduce _DL_SUBDIR

This per package variable can be used to specify the download
subdirectory used by that package.

The use case here is for example linux-headers and linux, which share
the same sources (because they are the same upstream project), so we
don't want to download twice the kernel, nor store it multiple times
either.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pkg-generic.mk