OK, so on my stopwatch, it takes 9.88 seconds.

john:~/Download/GIT/ti-linux-kernel-dev/KERNEL$ touch 
sound/soc/codecs/tlv320aic3x.c
john:~/Download/GIT/ti-linux-kernel-dev/KERNEL$ time make -j8 ARCH=arm 
LOCALVERSION=-ti-r33 
CROSS_COMPILE="/home/john/Download/GIT/ti-linux-kernel-dev/dl/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-"
 modules
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
  CHK     include/generated/bounds.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CC [M]  sound/soc/codecs/tlv320aic3x.o
  LD [M]  sound/soc/codecs/snd-soc-tlv320aic3x.o
  Building modules, stage 2.
  MODPOST 1940 modules
  LD [M]  sound/soc/codecs/snd-soc-tlv320aic3x.ko

real    0m9.879s
user    0m29.488s
sys     0m6.005s


Regards,
John




> On May 10, 2016, at 5:36 AM, Rafael Vega <[email protected]> wrote:
> 
> Thanks everyone for the replies :)
> 
> 
> 
> 
> john3909 wrote:
> 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? 
> 
> When I edit the file and then run scripts/rebuild.sh, it opens Menuconfig, I 
> close it and then it starts issuing many CC commands that take about 2 
> minutes to complete. 
> 
> If I run the following instead, it takes a little longer than a minute
> 
> `make -j4 ARCH=arm LOCALVERSION=-bone-rt-r10 CROSS_COMPILE="ccache 
> /home/rvg/Desktop/bb-kernel/dl/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-"
>   modules`  
> 
> My machine is not (so) slow, it's a dual core i7 (4 cores seen by the 
> kernel), about 5 years old, with 8GB ram.
> 
> What did you run that took 2 seconds?
> 
> 
> 
> Greg wrote:
> I think you want an "out of tree" module: 
> https://www.kernel.org/doc/Documentation/kbuild/modules.txt 
> <https://www.kernel.org/doc/Documentation/kbuild/modules.txt>
> Thanks! I'll try that! 
> 
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> <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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/80247661-30d4-46f4-8d90-eb9dda34f1c4%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/beagleboard/80247661-30d4-46f4-8d90-eb9dda34f1c4%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <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/6A1A8506-DD1D-45C0-A7EB-C2A42675D4FE%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to