summaryrefslogtreecommitdiffstats
path: root/meta-yocto
diff options
context:
space:
mode:
authorXiaofeng Yan <xiaofeng.yan@windriver.com>2012-05-30 17:17:10 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-05 22:54:46 +0100
commitb1f7bb912ff24e6885552ba656bd1bf9e23fa82c (patch)
treeac55ec26de74a624fc99e15372014a6680b5ba10 /meta-yocto
parent0efe773c1752ab28b6cc488da19892d490b5b92b (diff)
downloadpoky-b1f7bb912ff24e6885552ba656bd1bf9e23fa82c.tar.gz
poky-b1f7bb912ff24e6885552ba656bd1bf9e23fa82c.tar.bz2
poky-b1f7bb912ff24e6885552ba656bd1bf9e23fa82c.zip
local.conf.sample.extended: Change the usage about arhiver.bbclass
Change the usage about arhiver.bbclass due to the improvement for usability of archiver.bbclass [YOCTO #2472] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Diffstat (limited to 'meta-yocto')
-rw-r--r--meta-yocto/conf/local.conf.sample.extended31
1 files changed, 18 insertions, 13 deletions
diff --git a/meta-yocto/conf/local.conf.sample.extended b/meta-yocto/conf/local.conf.sample.extended
index b493094773..66b94ad82b 100644
--- a/meta-yocto/conf/local.conf.sample.extended
+++ b/meta-yocto/conf/local.conf.sample.extended
@@ -184,20 +184,25 @@
# Archiving source code configuration
#
-# The following variables control which files to archive and the type to archive to generate.
-# There are three basic class defintions of common operations that might be desired and these
-# can be enabled by uncommenting one of the following lines:
-#
-# INHERIT += "archive-original-source"
-# INHERIT += "archive-patched-source"
-#INHERIT =+ "archive-configured-source"
-#
+# The following variables control which files to archive and
+# the type to archive to generate.
+# The content to archive
+# "original": Copy source code package from downloads if existing.
+# Archive source code after do_unpack if not found in downloads
+# "patched": Archive source code package after do_patch
+# "configured": Archive source code package after do_configure
+# ARCHIVER_MODE[choices] = "none original patched configured"
# Type of archive:
-# SOURCE_ARCHIVE_PACKAGE_TYPE = 'srpm'
-#SOURCE_ARCHIVE_PACKAGE_TYPE ?= 'tar'
-#
+# ARCHIVER_MODE[type] = "tar srpm"
# Whether to include WORKDIR/temp, .bb and .inc files:
# 'logs_with_scripts' include WORKDIR/temp directory and .bb and .inc files
# 'logs' only include WORKDIR/temp
-# SOURCE_ARCHIVE_LOG_WITH_SCRIPTS ?= 'logs'
-#SOURCE_ARCHIVE_LOG_WITH_SCRIPTS ?= 'logs_with_scripts'
+# ARCHIVER_MODE[log_type] = "logs logs_with_scripts"
+# There are three basic class defintions of common operations
+# that might be desired and these can be enabled by
+# uncommenting five of the following lines:
+#ARCHIVER_MODE ?= "original"
+#ARCHIVER_MODE[type] ?= "tar"
+#ARCHIVER_MODE[log_type] ?= "logs_with_scripts"
+#ARCHIVER_CLASS = "${@'archive-${ARCHIVER_MODE}-source' if ARCHIVER_MODE != 'none' else ''}"
+#INHERIT += "${ARCHIVER_CLASS}"