I modified the file you are building and the build takes all of about 2 seconds. How much more time do you want to save?
Regards, John > On May 8, 2016, at 11:00 PM, Rick Mann <[email protected]> wrote: > >> >> On May 8, 2016, at 22:25 , John Syne <[email protected]> wrote: >> >> Sure you can, just run the "make -jx LOCALVERSION=xxx ARCH=xxx >> CROSS_COMPILE=xxx modules" command that is displayed in the script. > > That target implies all the modules. I'd like to avoid all the dependency > checking for all the other modules. Nevertheless, I'll try that, see if it > saves time. > > Thanks! > >> >> Regards, >> John >> >> >> >> >>> On May 8, 2016, at 10:15 PM, Rick Mann <[email protected]> wrote: >>> >>> >>>> On May 8, 2016, at 16:55 , Robert Nelson <[email protected]> wrote: >>>> >>>> >>>> >>>> On Sun, May 8, 2016 at 5:33 PM, Rafael Vega <[email protected]> wrote: >>>> Hello. >>>> >>>> I am hacking on the driver for the tlv320aic3x audio codec. I'm >>>> cross-compiling the kernel using the scripts at >>>> https://github.com/RobertCNelson/bb-kernel. >>>> >>>> What I'm doing is editing the code in >>>> KERNEL/sound/soc/codecs/tlv320aic3x.c, running tools/rebuild.sh and then >>>> copying KERNEL/sound/soc/codecs/snd-soc-tlv320aic3x.ko to my BBB in >>>> /lib/modules/4.4.9-bone-rt-r10/kernel/sound/soc/codecs. This works and the >>>> module loads and runs fine. However, running tools/rebuild.sh sometimes >>>> takes a really long time. Is there a quicker way to compile and load a >>>> module, can anyone suggest a better workflow? >>>> >>>> Use a faster build host.. ;) >>> >>> I've always felt like it should be possible to just rebuild the module. Is >>> it possible to cd to some subdir and hit "make"? Something to avoid all the >>> work the script repeats? >>> >>> Thanks. >>> >>> -- >>> Rick Mann >>> [email protected] >>> >>> >>> -- >>> 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/0B3A9AA4-6D06-4249-934E-55F59603F2FE%40latencyzero.com. >>> For more options, visit https://groups.google.com/d/optout. >> >> -- >> 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/82EB3B08-2DDF-4774-BEF6-955819E1D45D%40gmail.com. >> For more options, visit https://groups.google.com/d/optout. > > > -- > Rick Mann > [email protected] > > > -- > 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/920FE527-351F-456E-8894-574F669EA49F%40latencyzero.com. > For more options, visit https://groups.google.com/d/optout. -- 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/12224819-6BDA-4EC0-8099-3858DFEF9EF2%40gmail.com. For more options, visit https://groups.google.com/d/optout.
