diff options
author | Roland Hieber <rhi@pengutronix.de> | 2019-06-06 18:26:15 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-06-12 13:49:24 +0200 |
commit | 8db4320850eb5a8e8393162abe019aff024cb144 (patch) | |
tree | 6043fcef4a711f05251362c91f35965b86a63902 /doc | |
parent | ee10b8a913af08591acf295ced79a7b5e45be709 (diff) | |
download | ptxdist-8db4320850eb5a8e8393162abe019aff024cb144.tar.gz ptxdist-8db4320850eb5a8e8393162abe019aff024cb144.tar.xz |
ptxd_lib_dgen: error out for targetinstall stages in host/cross/image packages
This point came up multiple times in the past and the special handling
of targetinstall stages lead to confusion when trying to depend on image
packages. Document it to prevent further confusion in that matter, and
warn the user if such a make target exists.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ref_rule_file_layout.inc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/ref_rule_file_layout.inc b/doc/ref_rule_file_layout.inc index ea7eb8c49..58f37b73d 100644 --- a/doc/ref_rule_file_layout.inc +++ b/doc/ref_rule_file_layout.inc @@ -23,6 +23,18 @@ Each rule file provides PTXdist with the required steps (in PTXdist called - targetinstall.post +.. note:: + + Host, image and cross packages don't need to install anything in the target file system. + Therefore, PTXdist only respects the *targetinstall* and *targetinstall.post* + stages for packages whose name doesn't start with ``host-``, ``image-``, or ``cross-``. + + When you want to depend on the output of a certain image package, you can + usually use its image name as an `additional prerequisite <make-prereq-types_>`_ + in your make rule for the dependent stage. + +.. _make-prereq-types: https://www.gnu.org/software/make/manual/make.html#Prerequisite-Types + Default stage rules ~~~~~~~~~~~~~~~~~~~ |