<br><br><div class="gmail_quote">On Thu, Jul 4, 2013 at 9:53 AM, Warlich, Christof <span dir="ltr"><<a href="mailto:christof.warlich@siemens.com" target="_blank">christof.warlich@siemens.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">> When I change something in the kernel and just hit make from toplevel<br>
> dir, it always compiles everything again, no matter if it wasn't changed<br>
> at all in the meantime.<br>
> I thought make should be able to make a second build time really quick.<br>
> What am I doing wrong? Is there a make target I don't know of? I don't<br>
> type in any, just make.<br>
<br>
</div>Are you sure it rebuilds _everything_, i.e. as in a fresh build or after a "make clean?"<br>
<br>
When I rerun make without changing anything, it just does the following, which is much<br>
Less than a complete build:<br>
<br>
$ make<br>
make -C /root/views/DCUOS_3/derived/tdc/kernel O=/root/views/DCUOS_3/derived/tdc/kernelObjects/.<br>
Using /root/views/DCUOS_3/derived/tdc/kernel as source for kernel<br>
GEN /root/views/DCUOS_3/derived/tdc/kernelObjects/Makefile<br>
CHK include/linux/version.h<br>
CHK include/linux/utsrelease.h<br>
SYMLINK include/asm -> include/asm-x86<br>
CALL /root/views/DCUOS_3/derived/tdc/kernel/scripts/checksyscalls.sh<br>
CHK include/linux/compile.h<br>
VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds<br>
VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds<br>
VDSOSYM arch/x86/vdso/vdso32-syms.lds<br>
LD arch/x86/vdso/built-in.o<br>
LD arch/x86/built-in.o<br>
LD vmlinux.o<br>
MODPOST vmlinux.o<br>
GEN .version<br>
CHK include/linux/compile.h<br>
UPD include/linux/compile.h<br>
CC init/version.o<br>
LD init/built-in.o<br>
LD .tmp_vmlinux1<br>
KSYM .tmp_kallsyms1.S<br>
AS .tmp_kallsyms1.o<br>
LD .tmp_vmlinux2<br>
KSYM .tmp_kallsyms2.S<br>
AS .tmp_kallsyms2.o<br>
LD vmlinux<br>
SYSMAP System.map<br>
SYSMAP .tmp_System.map<br>
VOFFSET arch/x86/boot/voffset.h<br>
OBJCOPY arch/x86/boot/compressed/vmlinux.bin<br>
GZIP arch/x86/boot/compressed/vmlinux.bin.gz<br>
MKPIGGY arch/x86/boot/compressed/piggy.S<br>
AS arch/x86/boot/compressed/piggy.o<br>
LD arch/x86/boot/compressed/vmlinux<br>
ZOFFSET arch/x86/boot/zoffset.h<br>
AS arch/x86/boot/header.o<br>
CC arch/x86/boot/version.o<br>
LD arch/x86/boot/setup.elf<br>
OBJCOPY arch/x86/boot/setup.bin<br>
OBJCOPY arch/x86/boot/vmlinux.bin<br>
BUILD arch/x86/boot/bzImage<br>
Root device is (8, 5)<br>
Setup is 11148 bytes (padded to 11264 bytes).<br>
System is 1759 kB<br>
CRC f583db84<br>
Kernel: arch/x86/boot/bzImage is ready (#3)<br>
Building modules, stage 2.<br>
MODPOST 1 modules<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</div></div></blockquote></div>Am also pretty sure it does not compile everything.