From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 344B5E0174E for ; Wed, 6 Nov 2013 00:12:34 -0800 (PST) Received: by mail-lb0-f181.google.com with SMTP id x18so7335804lbi.40 for ; Wed, 06 Nov 2013 00:12:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=Yb0H83jzJ2/1p79hD6zFV0JqGu+ueZ3B5hI704vs0OI=; b=bfhHSkcpme62Oes5NDWqpzjOhMutZ5rol3AWIxEuBEEBfixJ66+AxRi1PSjjma+lcb PgPdzwibJEfgy716BV7JFiPSCqVdG3lVmCHhTMrkkmgcFL9o8X5wg8SQxUSqpNmMJGLq zUU2gLqVnA70UBQleP+BuVzCcc39bfr2OvObyiqHJHG2sq9qVA2Lr4LHoHXQYu2J5btj qfhZUn/sJS75VIyGMYFf8ACMZP1GAVu/6BIDRqrHmTqqildF6KusMCtMgtpMNJlB1N5Z fpBktou5x9p0zsaMtjIhpx4MlDPm4K1D8b4K6vyQhnn/eSr01DI7tO36wyMbdHmIGM/j 1JWg== X-Received: by 10.152.8.18 with SMTP id n18mr1427842laa.24.1383725552624; Wed, 06 Nov 2013 00:12:32 -0800 (PST) Received: from [10.0.1.5] ([80.232.254.7]) by mx.google.com with ESMTPSA id f5sm5412427lbr.9.2013.11.06.00.12.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Nov 2013 00:12:31 -0800 (PST) Message-ID: <5279F9EF.5040403@gmail.com> Date: Wed, 06 Nov 2013 10:12:31 +0200 From: Janis Coders User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: "meta-freescale@yoctoproject.org" Subject: [meta-freesclae] Replace/change/append SRC_URI for kernel git URL. X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Nov 2013 08:12:39 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I am trying to append SRC_URI of linux-imx_2.6.35.3.bb recipe, because we have our own git repository. The problem is that I don't want to override the SRC_URI completely, but only change the git repo address to our server. Does Yocto support it in some pretty way? (because for now we have to use this regex syntax in .bbapend file, which works, but isn't pretty): NEW_SRC_URI = "git://X.X.X.X/git/be-kernel.git;protocol=git;branch=yyyyyyy" TMP_SRC_URI := '${@bb.utils.re.sub("git://[^\\s]*", d.getVar("NEW_SRC_URI", True), d.getVar("SRC_URI", True))}' SRC_URI_mx5 = "${TMP_SRC_URI}"