On 01/13/13 20:33, horseriver wrote: > hi: > > How does kbuild build objects for subdirs of kernel source ? It goes into subdirs recursively. >From top-level Makefile: # Objects we will link into vmlinux / subdirs we need to visit init-y := init/ drivers-y := drivers/ sound/ firmware/ net-y := net/ libs-y := lib/ core-y := usr/ Then each subdir's Makefile has its own rules. -- ~Randy -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html