On 30/05/16 08:00, Robert Nelson wrote:
On Sun, May 29, 2016 at 12:58 AM, Drew Fustini <[email protected]> wrote:
<snip>

What would be the proper way to update /usr/include/linux/version.h to
reflect 4.1+?

OH yuck.. ;)

I've always thrown linux-libc-dev into the great /dev/null

Since the version isn't appended in the final export:

https://packages.debian.org/jessie/armhf/linux-libc-dev/filelist

So, maybe..

Step 1:

update deb-pkg to tie the "4.1.25-ti-r62" to via -$version here:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/scripts/package/builddeb?id=refs/tags/v4.7-rc1#n100

then just do a directory symlink like:

/usr/share/linux-libc-dev/4.1.25-ti-r62/ -> /usr/include/

(so we can easily install multiple linux-libc-dev)..
It would be super nice if LINUX_VERSION_CODE matched, you know, the version that was running...

The only problem, when debian pushes a kernel update, it'll wipe
out linux-libc-dev..
Oh, right... yeah... ungh my brain hurts.

....

Personally i wish Adafruit_BBIO just had a "export BUILD=4.1.x+" override ;)
Not a fan of overrides, but I think I can see the reasoning here. It's a pity there's no better way. Well, maybe there is and that'd be to detect at runtime instead. Which I was trying to avoid because seemed easier to hack it up as I did.

Thanks for the chatter.

Cheers,

Pete.

--
For more options, visit http://beagleboard.org/discuss
--- You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/574B81F2.1070005%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to