V6 hardfloat - PKGBUILD

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

V6 hardfloat - PKGBUILD

Postby undici77 » Wed Sep 19, 2012 9:37 am

Hello friends,
I have a question about AUR PKGBUILD:

How must I change now the arch key in PKGBUILD file in order to compile my project with V6 hardfloat?

it's enough arch=('i686' 'x86_64' 'arm' ) or I need something more??

Thanks
Alessandro
undici77
 
Posts: 3
Joined: Fri Aug 03, 2012 4:35 am

Re: V6 hardfloat - PKGBUILD

Postby pezz » Wed Sep 19, 2012 10:20 am

armv6h

Have a look at /etc/makepkg.conf

Although I am having trouble building a kernel...
pezz
 
Posts: 76
Joined: Fri Sep 14, 2012 11:19 pm
Location: Geelong, Australia

Re: V6 hardfloat - PKGBUILD

Postby pepedog » Wed Sep 19, 2012 10:38 am

$this->bbcode_second_pass_quote('undici77', 'H')ello friends,
I have a question about AUR PKGBUILD:

How must I change now the arch key in PKGBUILD file in order to compile my project with V6 hardfloat?

it's enough arch=('i686' 'x86_64' 'arm' ) or I need something more??

Thanks
Alessandro

You Don't need to
makepkg -Acs
A - ingore arch
c - clean up after
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: V6 hardfloat - PKGBUILD

Postby pezz » Wed Sep 19, 2012 10:46 am

Nice, hadn't noticed the -A arg before.

Would be nice to be able to get yaourt to pass it to makepkg and not have to leave edit files turned on so you can modify the arch.
pezz
 
Posts: 76
Joined: Fri Sep 14, 2012 11:19 pm
Location: Geelong, Australia

Re: V6 hardfloat - PKGBUILD

Postby pepedog » Wed Sep 19, 2012 11:22 am

That would be nice, but yaourt uses the tmpfs to build the package(s) in, you can run out of room if it has many depends
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: V6 hardfloat - PKGBUILD

Postby pezz » Wed Sep 19, 2012 12:03 pm

On low memory boxes, like some of the VPSes I have and the Pi, I disable tmpfs on /tmp (which is what yaourt uses):

% ll /etc/systemd/system/tmp.mount
lrwxrwxrwx 1 root root 9 Aug 28 19:19 /etc/systemd/system/tmp.mount -> /dev/null

* Edit: pasted from another box where I did it a while ago
pezz
 
Posts: 76
Joined: Fri Sep 14, 2012 11:19 pm
Location: Geelong, Australia

Re: V6 hardfloat - PKGBUILD

Postby Huulivoide » Wed Sep 19, 2012 5:28 pm

You can also change the yapourt's build directory in yaourt's config file....
Huulivoide
 
Posts: 27
Joined: Tue Jun 26, 2012 6:22 pm

Re: V6 hardfloat - PKGBUILD

Postby MattScherbatsky » Wed Sep 19, 2012 6:12 pm

I don't understand. I would compile XBMC from aur (xbmc-rbp-git), how I can compile it with hf?
MattScherbatsky
 
Posts: 34
Joined: Sat Aug 04, 2012 11:04 am

Re: V6 hardfloat - PKGBUILD

Postby WarheadsSE » Wed Sep 19, 2012 6:16 pm

http://archlinuxarm.org/developers/dist ... -compiling

See the recently added armv6h toolchain, which can be used with distcc.


makepkg -A tells it to ignore what the pkgbuild says, and take the value from CARCH in /etc/makepkg.conf
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: V6 hardfloat - PKGBUILD

Postby pezz » Thu Sep 20, 2012 2:51 am

FYI, yaourt maintainer on the AUR informed me of this gem for /etc/yaourtrc:

MAKEPKG_ARG+=(-A)
pezz
 
Posts: 76
Joined: Fri Sep 14, 2012 11:19 pm
Location: Geelong, Australia


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 70 guests

cron