Search Linux Wireless

Re: cross compile backports with LTIB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13-08-01 03:12 PM, Jonathan Bagg wrote:
On 13-08-01 01:47 PM, Solomon Peachy wrote:
On Thu, Aug 01, 2013 at 12:37:33PM -0400, Jonathan Bagg wrote:
I've been cross compiling compat-wireless and now I'm trying
backports.  It looks like conf.c and zconf.tab.c are being compiled
as arm and then the build process is trying to run conf on my x86
host.  Results using the below make parameters I was using for
compat-wireless......
Learned some things....Problem was LTIB (ltib = Freescale tool) environment. Outside of LTIB, backports cross compiles fine. To get backports happy in LTIB need to use UNSPOOF/SPOOF_PATH to switch between host and cross environment....

(this is for the LTIBs spec file for backports = dist/lfs-5.1/backports/backports.spec - forgot to mention in previous post)
%Build
export PATH=$UNSPOOF_PATH

make defconfig-cw1200 make 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

Jon
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux