[yocto] patching issue

Rohit2 Jindal rohit2.jindal at aricent.com
Thu Apr 24 08:27:49 PDT 2014


Hi,

I have scenario like the following:

SRC_URI = "\
     http://ftp.gnu.org/gnu/glibc/glibc-ports-2.13.tar.gz;name=ports \
        http://ftp.gnu.org/gnu/glibc/glibc-2.13.tar.gz;name=glibc \
        file://glibc.patch \
         file://newlib.patch
"
SRC_URI[ports.md5sum] = "094e3c9b57da605917a780ab24575187"
SRC_URI[ports.sha256sum] = "41cbdc05bd7b233464d649b59b34405e5bf3998522640b9f98f2c4eb91e87322"
SRC_URI[glibc.md5sum] = "fafabe01cb9748acb0a11a6879ebaa7e"
SRC_URI[glibc.sha256sum] = "bd90d6119bcc2898befd6e1bbb2cb1ed3bb1c2997d5eaa6fdbca4ee16191a906"

LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9"

#newlib source fetching
SRC_URI[newlib.md5sum] = "e5488f545c46287d360e68a801d470e8"
SRC_URI[newlib.sha256sum] = "c644b2847244278c57bec2ddda69d8fab5a7c767f3b9af69aa7aa3da823ff692"

SRC_URI_newlib = "\
        http://sourceforge.net/projects/devkitpro/files/sources/newlib/newlib-1.20.0.tar.gz;name=newlib"

I have two patches and two different source as shown with fetching controlled using SRC_URI_newlib and SRC_URI and I want to apply patches conditionally on SRC_URI and SRC_URI_newlib . But fails to do so.
Can u help how to apply newlib.patch in SRC_URI_newlib and glibc.patch in SRC_URI.

If I keep newlib.patch in SRC_URI_newlib it is not considered and ignored.

Please help me out

Thanks in advance!!


Regards,
Rohit Jindal

"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."



More information about the yocto mailing list