diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-21 07:26:26 +0100 |
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-21 07:26:26 +0100 |
| commit | 844e6bdbb81fe3213e39621b81d48f33534c3f47 (patch) | |
| tree | fa79b679f7b3ae1f46a3c51fb506e5f5a85e2a27 /docs/adding-packages-host.txt | |
| parent | 70092108cb10bd663687f2c7c21c279f5c40e233 (diff) | |
| parent | 3ef9bac3df49421f6a58f5b3e5b0997d144ece38 (diff) | |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'docs/adding-packages-host.txt')
| -rw-r--r-- | docs/adding-packages-host.txt | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/docs/adding-packages-host.txt b/docs/adding-packages-host.txt index a858d4563..c9eba6d02 100644 --- a/docs/adding-packages-host.txt +++ b/docs/adding-packages-host.txt @@ -75,18 +75,12 @@ Following mix between host and target package is possible, too: 29: include ${TOPDIR}/mk/pkg-bottom.mk ------------------------ -It is important to have foo-host as package build dependency, see line 12, so that the order is always build the host package -and then the target package. -If you need to rebuild a mixed package, you are advised to use: +If you need to rebuild a mixed package, you can do: ------------ - $ make package=<package> clean hostpackage package + $ make package=<package> hostclean hostpackage clean package ------------ -At the moment there is one limitation regarding the recursive dependency resolving. It is just not implemented, yet. -So you always need to set +PKG_BUILDDEP+ to all host tools dependencies in the right order. If package foo needs host -tool bar, and host tool bar needs host library libbaz, you have to use following +PKG_BUILDDEP+ variable: +If your host package have some dependencies, use following: ------------ - PKG_BUILDDEP:=libbaz-host bar-host + HOST_BUILDDEP:=libbaz-host bar-host ------------ - - |
