<dim44>
Is there some standard when writing Pkgfiles that have the option of being cross compiled?
<dim44>
I was thinking of just adding a cross variable that can then be edited by a modified pkgmk
<ukky>
dim44: afaik, no such option
<dim44>
ukky: it's not a difficult modification, pkgmk script is pretty simple as it is. Thought that maybe others had tried the same thing and had formed some form of standarized way to express it.
<ukky>
dim44: no that many people in CRUX are interested in cross-compiling. You might modify your pkgmk locally, but these changes might not go into official pkgmk.
<dim44>
ukky: well yeah, I understand that. Still, working with some modified versions of pkgutils is pretty comforatble.
<pitillo>
dim44: pkgutils-cross doesn't fit your needs instead of modifying Pkgfiles?
<dim44>
pitillo: pkgutils-cross did seem very interesting but I noticed that last update was 7 years ago. And I wasn't sure how integrated it is with development / toolchain.git
<pitillo>
dim44: pkgutils-cross should be pretty easy to bump to current version
<pitillo>
toolchain is the hardest part, anyway, it's another part. If you are building your custom toolchain, you can setup pkgutils-cross to use it
<dim44>
pitillo: I'll take a deeper look at it. It's mostly about making it work with a crosstools-ng toolchain
<pitillo>
if you have in mind put hands on toolchain, that repo could be a good start point if you haven't done any other work
<dim44>
pitillo: Ah okay, seems like a good way to do it then.
<pitillo>
it should be easy to use any toolchain with it
<dim44>
Btw, as far as the toolchain goes. I found crosstools-ng very easy to work with.
_whitelogger has joined #crux-arm
<pitillo>
there are some outhere very interesting and working like a charm
<pitillo>
I remember linaro, yocto.... lot of options really and probably currently more
<dim44>
Tried yocto but found that it was adding a lot of complexity for functionality that I didn't really want.
<dim44>
Still it's a nice source for configuration files since corporations seems to be supporting it a lot and releasing configuration packages specifically for it.
<dim44>
I really like buildroot in its simplicity since it is just Makefiles, but CRUX pkgutils are far better.
<dim44>
pkgmk-cross seems to be wrapping pkgmk with a custom pkgmk.conf using the "-cf" flag. Which is what I've been doing.
<dim44>
the crux-arm.nu/crossrootfs.git though seems very interesting since it does provide some form of cross-Pkfiles style guide.
<pitillo>
right :)
<pitillo>
in that way, you don't need to modify Pkgfiles, they keep CRUX's esence
<r0ni>
we need an update to cbindgen 0.26 for firefox 119 to build
<r0ni>
i'll try and do a PR later if possible, doing tests now
<pitillo>
r0ni: it was updated this afternoon
<r0ni>
oh wow i see that above now
<r0ni>
pardon my few hours old ports update then lol
<pitillo>
no worries
<r0ni>
i was moments away from finding that out myself as i'm pulling the repo to do it lol
<r0ni>
gah files are all exec
<r0ni>
well at least firefox will finish now, i'm so far behind on updates