Skip to contentSkip to conversation

docs/manual: document $(FOO_PKGDIR)

PATCH New Yann E. MORIN 2 participants 2 messages Nov 4, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/manual: document $(FOO_PKGDIR)

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.

Cc Samuel Martin <[email protected]>
Cc Thomas Petazzoni <[email protected]>

---
Changes:
- split out of the series since the corresponding code has been applied

---
 docs/manual/adding-packages-generic.txt | 5 +++++
 1 file changed, 5 insertions(+)
docs/manual/adding-packages-generic.txt +5 -0
index a7143e4..02a43d6 100644
@@ -495,6 +495,11 @@ 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. This variable is useful when it is
+  necessary to install a file bundled in Buildroot, like a runtime
+  configuration file, a splashscren image...
+
 * +$(@D)+, which contains the directory in which the package source
   code has been uncompressed.
 
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 docs/manual: document $(FOO_PKGDIR)

Dear Yann E. MORIN,

Quoted 9 lines · Yann E. MORIN

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.

Cc Samuel Martin <[email protected]>
Cc Thomas Petazzoni <[email protected]>
Quoted 7 lines

---
Changes:
- split out of the series since the corresponding code has been applied

---
 docs/manual/adding-packages-generic.txt | 5 +++++
 1 file changed, 5 insertions(+)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com