[Buildroot] [PATCH v2] package/perf: build outside kernel tree

Baruch Siach baruch at tkos.co.il
Thu Mar 19 11:21:00 UTC 2015


Hi Steven,

On Thu, Mar 19, 2015 at 04:04:38AM -0700, Steven Noonan wrote:
> On Thu, Mar 19, 2015 at 4:02 AM, Baruch Siach <baruch at tkos.co.il> wrote:
> > On Thu, Mar 19, 2015 at 03:57:31AM -0700, Steven Noonan wrote:
> >>  # Source taken from the Linux kernel tree
> >> -PERF_SOURCE =
> >>  PERF_VERSION = $(call qstrip,$(BR2_LINUX_KERNEL_VERSION))
> >> +PERF_SOURCE = linux-$(PERF_VERSION).tar.xz
> >> +ifeq ($(findstring x2.6.,x$(PERF_VERSION)),x2.6.)
> >> +PERF_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v2.6
> >> +else
> >> +PERF_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v3.x
> >
> > What about v4.x?
> 
> Good callout. Have there been related changes submitted for the
> linux-headers and kernel packages?

In case the maintainers decide this is the way to go about perf (which I 
doubt), then we should move this code to a common place instead of duplicating 
it. While at it we should also fix the v4.x case.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -



More information about the buildroot mailing list