On Tue, May 21, 2019 at 5:19 PM Dave <[email protected]> wrote: > > Thanks for the response. > > My goal is just to be able to build a single driver/module for > testing./debugging, without having to go through the entire kernel package > build process each time. > I do not care whether I am building the driver on the target on on an x86 > host. > > I had hope that just installing the kernel headers on the target was > sufficient > When that did not work I tried to copy the bb-kernel/KERNEL tree into > /usr/src/linux-..... on the target. > and do a > make scripts > there. > but when I tried to build a driver on the target I got a file format error > when make tried to execute modpost. > I can not seem to figure out how to get an arm version of modpost to build. > > I am now trying to get build_debs.sh to run on the target. > But I may grow old and die before that finishes. > > Do you have any suggestions as to an easier way to get the environment needed > to build a single driver ?
Sure... sudo apt update sudo apt install linux-headers-5.1.0-rc3-bone0 Regards, -- Robert Nelson https://rcn-ee.com/ -- 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/CAOCHtYj6LP%2B2FHa7uSLn6E6iSfgHkaUixeabMkst9s8yt1wr0Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
