[Buildroot] [PATCH 02/21 v2] docs/manual: document $(FOO_PKGDIR)

Yann E. MORIN yann.morin.1998 at free.fr
Thu Oct 22 20:33:57 UTC 2015


In the manual, add a note that packages can use $(FOO_PKGDIR) to get the
path to the directory containg the .mk and Config.in files, if they need
it to e.g. copy files from there, like startup scripts, systemd units or
any other resource.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Cc: Samuel Martin <s.martin49 at gmail.com>
---
 docs/manual/adding-packages-generic.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt
index 9d6401f..17ada16 100644
--- a/docs/manual/adding-packages-generic.txt
+++ b/docs/manual/adding-packages-generic.txt
@@ -491,6 +491,9 @@ endef
 
 In the action definitions, you can use the following variables:
 
+* +$(FOO_PKGDIR)+ contains the path to the directory containing the
+  +foo.mk+ and +Config.in+ files.
+
 * +$(@D)+, which contains the directory in which the package source
   code has been uncompressed.
 
-- 
1.9.1



More information about the buildroot mailing list