From 5818c0dc31a76e4a9c056b23e7b103ca5bcc5215 Mon Sep 17 00:00:00 2001 From: Bian Naimeng Date: Mon, 2 Mar 2015 19:34:48 +0800 Subject: 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/gcc/gcc-source.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/gcc/gcc-source.inc b/meta/recipes-devtools/gcc/gcc-source.inc index 968830a..10e9285 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]*-*" INHIBIT_DEFAULT_DEPS = "1" DEPENDS = "" +PACKAGES = "" python do_preconfigure () { import subprocess -- cgit v1.1