diff options
author | Bian Naimeng <biannm@cn.fujitsu.com> | 2015-03-02 19:34:48 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-10 10:47:40 +0000 |
commit | 5818c0dc31a76e4a9c056b23e7b103ca5bcc5215 (patch) | |
tree | 40b2d14b6b7b4d488042a7d868f33392ad637a14 /meta | |
parent | ca3a3c05414f52bd9c2c9774248b7b74b60df20c (diff) | |
download | poky-5818c0dc31a76e4a9c056b23e7b103ca5bcc5215.tar.gz |
gcc-source: fix bug to avoid building error.
gcc-source don't do do_package_write_rpm, so we should set
PACKAGES = "" to avoid the building error if we want generate srpm,
otherwise, we get the error as below.
ERROR: Task do_deploy_archives in meta/recipes-devtools/gcc/gcc-source_4.9.bb \
depends upon non-existent task do_package_write_rpm in \
meta/recipes-devtools/gcc/gcc-source_4.9.bb
(From OE-Core rev: 704fd8f1efbd7fa9368cfe4f956abf24cd58664e)
Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-source.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-source.inc b/meta/recipes-devtools/gcc/gcc-source.inc index 968830aa35..10e9285c44 100644 --- a/meta/recipes-devtools/gcc/gcc-source.inc +++ b/meta/recipes-devtools/gcc/gcc-source.inc | |||
@@ -19,6 +19,7 @@ STAMPCLEAN = "${STAMPS_DIR}/work-shared/gcc-[0-9]*-*" | |||
19 | 19 | ||
20 | INHIBIT_DEFAULT_DEPS = "1" | 20 | INHIBIT_DEFAULT_DEPS = "1" |
21 | DEPENDS = "" | 21 | DEPENDS = "" |
22 | PACKAGES = "" | ||
22 | 23 | ||
23 | python do_preconfigure () { | 24 | python do_preconfigure () { |
24 | import subprocess | 25 | import subprocess |