[Dev] build error on ath9k-htc-firmware
Nicolás Reynolds
fauno at kiwwwi.com.ar
Fri Oct 18 16:33:03 GMT 2013
Mono <mono at posteo.de> writes:
> Hallo Nicolas,
>
> it's a x86_64 architecture. A workaround might by to temporary move
> away /usr/bin/{as,objcopy} installed by binutils and symlink
> /usr/bin/xtensa-unknown-elf-{as,objcopy} to
> /usr/bin/{as,objcopy}. Deinstalling binutils does not work though,
> because then makepkg misses /usr/bin/strip. Thus it seems make -C
> build/k2 and make -C build/magpie somehow dont use
> /usr/bin/xtensa-unknown-elf-{as,objcopy}, but /usr/bin/{as,objcopy}.
>
> best regards
you can make the symlinks on the build dir during prepare(),for
instance
mkdir -p $srcdir/bin
ln -s /usr/bin/xtensa-unknown-elf-as $srcdir/bin/as
export PATH=$srcdir/bin:$PATH
so the pkgbuild doesn't need manual intervention
--
:{
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <https://lists.parabola.nu/pipermail/dev/attachments/20131018/c9d56ce9/attachment.sig>
More information about the Dev
mailing list