diff options
Diffstat (limited to 'docs/package-reference.txt')
| -rw-r--r-- | docs/package-reference.txt | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/docs/package-reference.txt b/docs/package-reference.txt index 53bccb3bd..29c4208d0 100644 --- a/docs/package-reference.txt +++ b/docs/package-reference.txt @@ -12,7 +12,7 @@ information is: * +PKG_RELEASE+, mandatory, must contain the OpenADK specific release of the package. -* +PKG_MD5SUM+, mandatory, must contain the MD5 hash of the package, will be used +* +PKG_HASH+, mandatory, must contain the SHA256 hash of the package, will be used to check if a download of a package is complete. * +PKG_SECTION+, mandatory, must contain the OpenADK specific section, see package/section.lst. @@ -44,10 +44,18 @@ information is: installed before the configuration of the current package starts. * +PKG_DEPENDS+ optional, lists the runtime dependencies that are required to - run the software package on the target. It conatins a list of package names, + run the software package on the target. It contains a list of package names, which might be different to the package directory name. See what is used in PKG_template, to find out the package name used here. +* +PKG_KDEPENDS+ optional, lists the kernel module dependencies that are required to + run the software package on the target. It contains a list of kernel module names + in lower case as used in +target/linux/config+. (use minus instead of underscores) + +* +PKG_NEEDS+ optional, lists the features that are required to build or + run the software package on the target. It contains a list of keywords. + Supported are +threads+ +mmu+ +intl+ and +c+++ + * +PKG_NOPARALLEL+ optional, may be set to 1, to disable parallel building of the package via make -jn, n=4 is default, but can be changed in +Global Settings+ in the menu based configuration. @@ -61,10 +69,6 @@ information is: +STAGING_TARGET_DIR/scripts+, required for automake/autoconf package +noremove+ do not automatically remove package files from +STAGING_TARGET_DIR+ -* +PKG_NEED_CXX+ optional, package need C++ compiler - -* +PKG_CXX+ optional, package can use either `uClibc++` or `libstdc++` - The recommended way to define these variables is to use the following syntax: @@ -100,7 +104,7 @@ different steps of the configure, build and install process. * +MAKE_ENV+ add additional variables to build step -* +MAKE_FLAGS+ add additinal make flags to build step +* +MAKE_FLAGS+ add additional make flags to build step * +FAKE_FLAGS+ add additional make flags to fake install step @@ -108,15 +112,15 @@ different steps of the configure, build and install process. * +INSTALL_STYLE+ either manual or auto -* +CONFIGURE_PROG+ overwrite default configure programm +* +CONFIGURE_PROG+ override default configure program -* +MAKE_FILE+ overwrite default Makefile +* +MAKE_FILE+ override default Makefile -* +ALL_TARGET+ overwrite default build target +* +ALL_TARGET+ override default build target -* +INSTALL_TARGET+ overwrite default install target +* +INSTALL_TARGET+ override default install target -The variables to add or overwrite preprocessor, compiler and linker flags: +The variables to add or override preprocessor, compiler and linker flags: * +TARGET_CPPFLAGS+ flags for the preprocessor |
