Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18489292 authored by Shuah Khan's avatar Shuah Khan
Browse files

samples: move blackfin gptimers-example from Documentation



Move blackfin gptimers-example to samples and remove it from Documentation
Makefile. Update samples Kconfig and Makefile to build gptimers-example.

blackfin is the last CONFIG_BUILD_DOCSRC target in Documentation/Makefile.
Hence this patch also includes changes to remove CONFIG_BUILD_DOCSRC from
Makefile and lib/Kconfig.debug and updates VIDEO_PCI_SKELETON dependency
on BUILD_DOCSRC.

Documentation/Makefile is not deleted to avoid braking make htmldocs and
make distclean.

Acked-by: default avatarMichal Marek <mmarek@suse.com>
Acked-by: default avatarJonathan Corbet <corbet@lwn.net>
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Reported-by: default avatarValentin Rothberg <valentinrothberg@gmail.com>
Reported-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent a67cd548
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
subdir-y := blackfin
subdir-y :=
+0 −4
Original line number Diff line number Diff line
00-INDEX
	- This file
Makefile
	- Makefile for gptimers example file.
bfin-gpio-notes.txt
	- Notes in developing/using bfin-gpio driver.
bfin-spi-notes.txt
	- Notes for using bfin spi bus driver.
gptimers-example.c
	- gptimers example

Documentation/blackfin/Makefile

deleted100644 → 0
+0 −5
Original line number Diff line number Diff line
ifneq ($(CONFIG_BLACKFIN),)
ifneq ($(CONFIG_BFIN_GPTIMERS),)
obj-m := gptimers-example.o
endif
endif
+0 −3
Original line number Diff line number Diff line
@@ -933,9 +933,6 @@ vmlinux_prereq: $(vmlinux-deps) FORCE
ifdef CONFIG_HEADERS_CHECK
	$(Q)$(MAKE) -f $(srctree)/Makefile headers_check
endif
ifdef CONFIG_BUILD_DOCSRC
	$(Q)$(MAKE) $(build)=Documentation
endif
ifdef CONFIG_GDB_SCRIPTS
	$(Q)ln -fsn `cd $(srctree) && /bin/pwd`/scripts/gdb/vmlinux-gdb.py
endif
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ config VIDEO_FIXED_MINOR_RANGES

config VIDEO_PCI_SKELETON
	tristate "Skeleton PCI V4L2 driver"
	depends on PCI && BUILD_DOCSRC
	depends on PCI
	depends on VIDEO_V4L2 && VIDEOBUF2_CORE
	depends on VIDEOBUF2_MEMOPS && VIDEOBUF2_DMA_CONTIG
	---help---
Loading