]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
local.conf.sample.extended: Add filtering function to archiver.bbclass
authorXiaofeng Yan <xiaofeng.yan@windriver.com>
Tue, 26 Jun 2012 06:15:28 +0000 (14:15 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Jun 2012 15:23:18 +0000 (16:23 +0100)
Add the option to filter packages according to license.

[YOCTO #2473]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
meta/conf/local.conf.sample.extended

index 1f84ac7c4f93d56136cc1ffbcd342bc982d353ab..1d193869132b6ed2aadd644a10b8da8ab9db648a 100644 (file)
 # 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[filter] ?= "yes no"
+# Filter packages according to license
+#ARCHIVER_MODE ?= "original"
+#ARCHIVER_MODE[type] ?= "tar"
+#ARCHIVER_MODE[log_type] ?= "logs_with_scripts"
+#ARCHIVER_MODE[filter] ?= "no"
+#ARCHIVER_CLASS = "${@'archive-${ARCHIVER_MODE}-source' if ARCHIVER_MODE != 'none' else ''}"
+#INHERIT += "${ARCHIVER_CLASS}"