summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>2007-10-18 23:41:07 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-19 11:53:55 -0700
commit267c4025f2e198a4e551556a6db31a554ca51814 (patch)
tree3ef12bb271cb2114fd857530e356ae96f2e98f01 /Makefile
parent8256e47cdc8923e9959eb1d7f95d80da538add80 (diff)
downloadlinux-stable-267c4025f2e198a4e551556a6db31a554ca51814.tar.gz
linux-stable-267c4025f2e198a4e551556a6db31a554ca51814.tar.bz2
linux-stable-267c4025f2e198a4e551556a6db31a554ca51814.zip
markers: Add samples subdir
Begin infrastructure for kernel code samples in the samples/ directory. Add its Kconfig and Kbuild files. Source its Kconfig file in all arch/ Kconfigs. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 529b9048d97e..68ef80b30340 100644
--- a/Makefile
+++ b/Makefile
@@ -774,6 +774,9 @@ vmlinux: $(vmlinux-lds) $(vmlinux-init) $(vmlinux-main) $(kallsyms.o) vmlinux.o
ifdef CONFIG_HEADERS_CHECK
$(Q)$(MAKE) -f $(srctree)/Makefile headers_check
endif
+ifdef CONFIG_SAMPLES
+ $(Q)$(MAKE) $(build)=samples
+endif
$(call vmlinux-modpost)
$(call if_changed_rule,vmlinux__)
$(Q)rm -f .old_version