All of lore.kernel.org
 help / color / mirror / Atom feed
* Building kernel backports for ARM with Yocto
@ 2017-10-18 22:13 Marlon Smith
  2017-10-18 22:53 ` Darcy Watkins
  2017-10-19  5:50 ` Khem Raj
  0 siblings, 2 replies; 9+ messages in thread
From: Marlon Smith @ 2017-10-18 22:13 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1210 bytes --]

Hi everyone,

I'm trying to build the Linux backports project to get updated wifi
drivers on an older kernel.  The problem is that when building
backports, it first builds several tools that need to be run natively
before cross-compiling the rest of the project.

I know how to write a bitbake recipe to compile natively, and how to
write one to build for the target, but I can't figure out how to
combine the two.  The backports project has steps for LTIB:

 %Build
 export PATH=$UNSPOOF_PATH
 
 make menuconfig prefix=%{_prefix} \
   CROSS_COMPILE=${TOOLCHAIN_PATH}/bin/${TOOLCHAIN_PREFIX} \
   ARCH=$LINTARCH KLIB=${TOP}/rootfs/lib/modules/%{kversion} \
   KLIB_BUILD=${TOP}/rpm/BUILD/linux
 
 export PATH=$SPOOF_PATH
 
 make prefix=%{_prefix} \
   CROSS_COMPILE=${TOOLCHAIN_PATH}/bin/${TOOLCHAIN_PREFIX} \
   ARCH=$LINTARCH KLIB=${TOP}/rootfs/lib/modules/%{kversion} \
   KLIB_BUILD=${TOP}/rpm/BUILD/linux

I believe what I need is an equivalent to the line export
PATH=$UNSPOOF_PATH but I can't find anything in the Yocto documentation
or mailing lists that would be equivalent to that.

Any help would be much appreciated!

Thanks

Marlon

[-- Attachment #2: Type: text/html, Size: 2072 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-10-23 18:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-18 22:13 Building kernel backports for ARM with Yocto Marlon Smith
2017-10-18 22:53 ` Darcy Watkins
2017-10-18 23:04   ` Marlon Smith
2017-10-19  5:50 ` Khem Raj
2017-10-19 19:38   ` Marlon Smith
2017-10-19 21:18     ` Khem Raj
2017-10-19 21:23       ` Marlon Smith
2017-10-23 18:07       ` Marlon Smith
2017-10-23 18:11         ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.