diff options
author | Chris Larson <chris_larson@mentor.com> | 2011-06-02 12:16:11 -0700 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-04 10:06:44 +0200 |
commit | 78c3f2f3c6e66772a5d5ba821a03ea10b27a3a0c (patch) | |
tree | 87e72b1372cfc18663db0e23f73cb0a277fdb7b5 /classes | |
parent | a2ed2705ab32a4a3a3d3fb593a76e9db9ebcb877 (diff) | |
download | openembedded-78c3f2f3c6e66772a5d5ba821a03ea10b27a3a0c.tar.gz |
sourceipk: allow override of the section
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/sourceipk.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/classes/sourceipk.bbclass b/classes/sourceipk.bbclass index b37bbf9aa9..a92e462325 100644 --- a/classes/sourceipk.bbclass +++ b/classes/sourceipk.bbclass @@ -50,6 +50,9 @@ SRCIPK_INSTALL_DIR ?= "/usr/src/${PN}-src" # Default PACKAGE_ARCH for sources is "all" SRCIPK_PACKAGE_ARCH ?= "all" +# Default section matches the recipe section +SRCIPK_SECTION ?= "${SECTION}" + # Default SRCIPK_INCLUDE_EXTRAFILES is to include the extra files SRCIPK_INCLUDE_EXTRAFILES ?= "1" @@ -86,7 +89,7 @@ sourceipk_do_create_srcipk() { echo "Package: ${PN}-src" > $control_file echo "Version: ${PV}-${PR}" >> $control_file echo "Description: Patched sources for ${PN}" >> $control_file - echo "Section: ${SECTION}" >> $control_file + echo "Section: ${SRCIPK_SECTION}" >> $control_file echo "Priority: Optional" >> $control_file echo "Maintainer: ${MAINTAINER}" >> $control_file echo "License: ${LICENSE}" >> $control_file |