From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lo.gmane.org ([80.91.229.12]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1NNkA5-00059F-Nm for openembedded-devel@lists.openembedded.org; Thu, 24 Dec 2009 10:39:16 +0100 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NNk8G-00064I-Dp for openembedded-devel@lists.openembedded.org; Thu, 24 Dec 2009 10:37:20 +0100 Received: from s55917625.adsl.wanadoo.nl ([85.145.118.37]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Dec 2009 10:37:20 +0100 Received: from k.kooi by s55917625.adsl.wanadoo.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Dec 2009 10:37:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: openembedded-devel@lists.openembedded.org From: Koen Kooi Date: Thu, 24 Dec 2009 10:36:45 +0100 Message-ID: References: <1261629237-15118-1-git-send-email-raj.khem@gmail.com> Mime-Version: 1.0 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: s55917625.adsl.wanadoo.nl User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.5) Gecko/20091220 Shredder/3.0.1pre In-Reply-To: <1261629237-15118-1-git-send-email-raj.khem@gmail.com> X-Enigmail-Version: 1.0 Sender: news X-SA-Exim-Connect-IP: 80.91.229.12 X-SA-Exim-Mail-From: gcho-openembedded-devel@m.gmane.org X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: No (on linuxtogo.org); Unknown failure Subject: Re: [PATCH 1/2] u-boot_git.bb: Change SRC_URI to a valid location for beagleboard. X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 09:39:16 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 NAK, uboot_git.bb should fetch from git. On 24-12-09 05:33, Khem Raj wrote: > * The commit-id it is looking for is not there in upstream git > repo therefore get the tar file from angstrom mirror. > > * On ARM gcc 4.4 does not allow weak inline, patch them. > > Signed-off-by: Khem Raj > --- > conf/checksums.ini | 4 ++ > recipes/u-boot/u-boot-git/weak_inline.patch | 51 +++++++++++++++++++++++++++ > recipes/u-boot/u-boot_git.bb | 3 +- > 3 files changed, 57 insertions(+), 1 deletions(-) > create mode 100644 recipes/u-boot/u-boot-git/weak_inline.patch > > diff --git a/conf/checksums.ini b/conf/checksums.ini > index 2d59a3a..f87af15 100644 > --- a/conf/checksums.ini > +++ b/conf/checksums.ini > @@ -8754,6 +8754,10 @@ sha256=692901194603cc4fb4072d8f907487d867caef6b62161f50f0f44dbeb001066e > md5=ed8c4fa007a44d51b646865c35461ce8 > sha256=f8ccac357f2c721e735ae16bbb02a420d2aaaed483f5d46043c5fe627ab4b260 > > +[http://www.angstrom-distribution.org/unstable/sources/git_git.denx.de.u-boot-ti.git_1590f84007e2b50ad346a482fff89195cb04ff4e.tar.gz] > +md5=6ff9ee1f4d43997b6e533b3c2c2a739f > +sha256=6b3cfb0ae1f35e695da38561877bd185da5f8471f4377c0069f999114d93521a > + > [http://downloads.sourceforge.net/gizmod/gizmod-2.3.tar.bz2] > md5=b7200b08149599c4c0f56d88f0c7f208 > sha256=53af32530e58ba23cbb752f063364612bbea57b31de2ee35814973452c2f63f2 > diff --git a/recipes/u-boot/u-boot-git/weak_inline.patch b/recipes/u-boot/u-boot-git/weak_inline.patch > new file mode 100644 > index 0000000..d0014ff > --- /dev/null > +++ b/recipes/u-boot/u-boot-git/weak_inline.patch > @@ -0,0 +1,51 @@ > +From: Ron Lee > +Date: Wed, 5 Aug 2009 18:14:01 +0000 (+0200) > +Subject: ARM Don't inline weak symbols > +X-Git-Url: http://git.denx.de/?p=u-boot%2Fu-boot-arm.git;a=commitdiff_plain;h=f865fcbbb35851e75fee9c3a3fa8e0f71d9e6463 > + > +ARM Don't inline weak symbols > + > +------------------------------------------------------------------------ > + > +GCC 4.4 complains about this now. > + > +Signed-off-by: Ron Lee > +--- > + > +Index: git/lib_arm/board.c > +=================================================================== > +--- git.orig/lib_arm/board.c 2009-10-20 04:08:52.000000000 -0700 > ++++ git/lib_arm/board.c 2009-12-23 15:30:11.687436024 -0800 > +@@ -89,23 +89,23 @@ extern void rtl8019_get_enetaddr (uchar > + * May be supplied by boards if desired > + */ > + void inline __coloured_LED_init (void) {} > +-void inline coloured_LED_init (void) __attribute__((weak, alias("__coloured_LED_init"))); > ++void coloured_LED_init (void) __attribute__((weak, alias("__coloured_LED_init"))); > + void inline __red_LED_on (void) {} > +-void inline red_LED_on (void) __attribute__((weak, alias("__red_LED_on"))); > ++void red_LED_on (void) __attribute__((weak, alias("__red_LED_on"))); > + void inline __red_LED_off(void) {} > +-void inline red_LED_off(void) __attribute__((weak, alias("__red_LED_off"))); > ++void red_LED_off(void) __attribute__((weak, alias("__red_LED_off"))); > + void inline __green_LED_on(void) {} > +-void inline green_LED_on(void) __attribute__((weak, alias("__green_LED_on"))); > ++void green_LED_on(void) __attribute__((weak, alias("__green_LED_on"))); > + void inline __green_LED_off(void) {} > +-void inline green_LED_off(void)__attribute__((weak, alias("__green_LED_off"))); > ++void green_LED_off(void) __attribute__((weak, alias("__green_LED_off"))); > + void inline __yellow_LED_on(void) {} > +-void inline yellow_LED_on(void)__attribute__((weak, alias("__yellow_LED_on"))); > ++void yellow_LED_on(void) __attribute__((weak, alias("__yellow_LED_on"))); > + void inline __yellow_LED_off(void) {} > +-void inline yellow_LED_off(void)__attribute__((weak, alias("__yellow_LED_off"))); > ++void yellow_LED_off(void) __attribute__((weak, alias("__yellow_LED_off"))); > + void inline __blue_LED_on(void) {} > +-void inline blue_LED_on(void)__attribute__((weak, alias("__blue_LED_on"))); > ++void blue_LED_on(void) __attribute__((weak, alias("__blue_LED_on"))); > + void inline __blue_LED_off(void) {} > +-void inline blue_LED_off(void)__attribute__((weak, alias("__blue_LED_off"))); > ++void blue_LED_off(void) __attribute__((weak, alias("__blue_LED_off"))); > + > + /************************************************************************ > + * Init Utilities * > diff --git a/recipes/u-boot/u-boot_git.bb b/recipes/u-boot/u-boot_git.bb > index 5fcf7c5..9f0adb2 100644 > --- a/recipes/u-boot/u-boot_git.bb > +++ b/recipes/u-boot/u-boot_git.bb > @@ -16,9 +16,10 @@ SRC_URI_append_afeb9260 = " file://AFEB9260-network-fix.patch;patch=1" > SRC_URI_append_afeb9260-180 = " file://AFEB9260-network-fix.patch;patch=1" > SRC_URI_append_cm-t35 = "file://cm-t35/cm-t35.patch;patch=1" > > -SRC_URI_beagleboard = "git://git.denx.de/u-boot-ti.git;protocol=git \ > +SRC_URI_beagleboard = "http://www.angstrom-distribution.org/unstable/sources/git_git.denx.de.u-boot-ti.git_1590f84007e2b50ad346a482fff89195cb04ff4e.tar.gz \ > file://fw_env.config \ > file://new-pinmux.patch;patch=1 \ > + file://weak_inline.patch;patch=1 \ > " > SRCREV_beagleboard = "1590f84007e2b50ad346a482fff89195cb04ff4e" > PV_beagleboard = "2009.08+${PR}+gitr${SRCREV}" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFLMzYtMkyGM64RGpERAgD4AJ9v/7BVXO6XVuYB5pgBfo1gbOSKFACghaXX jkkIE5R+Z1oMuafdiQpsZf0= =eYjJ -----END PGP SIGNATURE-----