Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 529682 - kernel-2.eclass: adjust sparc warning
Summary: kernel-2.eclass: adjust sparc warning
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-18 11:53 UTC by Raúl Porcel (RETIRED)
Modified: 2014-11-28 17:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch (kernel-2.patch,1.24 KB, patch)
2014-11-18 11:53 UTC, Raúl Porcel (RETIRED)
Details | Diff
New patch, fixed missing paratheses and applies cleanly to kernel-2.eclass (kernel-2-sparc.patch,1.26 KB, patch)
2014-11-20 00:58 UTC, Mike Pagano
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Raúl Porcel (RETIRED) gentoo-dev 2014-11-18 11:53:28 UTC
Created attachment 389618 [details, diff]
patch

Hi,

Please find attached a patch for the kernel-2.eclass.

I'm simply adding a check to display the CROSS_COMPILE warning if gcc <4.4. 

The CROSS_COMPILE only needs to be done if gcc is <4.4

Thanks
Comment 1 Mike Pagano gentoo-dev 2014-11-20 00:51:13 UTC
Looks like a parentheses is missing. I am running some tests on this now.
It also did not apply to kernel-2.eclass, so I modified it by hand.
Comment 2 Mike Pagano gentoo-dev 2014-11-20 00:58:01 UTC
Created attachment 389822 [details, diff]
New patch, fixed missing paratheses and applies cleanly to kernel-2.eclass

Can you please test this patch as I do not have sparc hardware?
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2014-11-28 10:09:02 UTC
Works fine, please apply.
Comment 4 Mike Pagano gentoo-dev 2014-11-28 17:40:49 UTC
committed