* [PATCH] Documentation: fix blackfin gptimers-example build errors
@ 2015-01-16 22:35 Randy Dunlap
2015-01-28 19:08 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2015-01-16 22:35 UTC (permalink / raw)
To: LKML, fengguang.wu, Steven Miao; +Cc: adi-buildroot-devel, Jonathan Corbet
From: Randy Dunlap <rdunlap@infradead.org>
Don't build the blackfin gptimers-example module when BFIN_GPTIMERS
is not enabled. Allow the build when BFIN_GPTIMERS is =y or =m.
I believe that this patch fixes these build errors, but I don't
have a build environment to test this.
ERROR: "disable_gptimers" [Documentation/blackfin/gptimers-example.ko] undefined!
ERROR: "enable_gptimers" [Documentation/blackfin/gptimers-example.ko] undefined!
ERROR: "set_gptimer_config" [Documentation/blackfin/gptimers-example.ko] undefined!
ERROR: "clear_gptimer_intr" [Documentation/blackfin/gptimers-example.ko] undefined!
ERROR: "get_gptimer_period" [Documentation/blackfin/gptimers-example.ko] undefined!
ERROR: "get_gptimer_pwidth" [Documentation/blackfin/gptimers-example.ko] undefined!
ERROR: "get_gptimer_intr" [Documentation/blackfin/gptimers-example.ko] undefined!
Reported-by: Fenggaung Wu <fengguang.wu@intel.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Documentation/blackfin/Makefile | 2 ++
1 file changed, 2 insertions(+)
--- lnx-319-rc4.orig/Documentation/blackfin/Makefile
+++ lnx-319-rc4/Documentation/blackfin/Makefile
@@ -1,3 +1,5 @@
ifneq ($(CONFIG_BLACKFIN),)
+ifneq ($(CONFIG_BFIN_GPTIMERS,)
obj-m := gptimers-example.o
endif
+endif
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Documentation: fix blackfin gptimers-example build errors
2015-01-16 22:35 [PATCH] Documentation: fix blackfin gptimers-example build errors Randy Dunlap
@ 2015-01-28 19:08 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2015-01-28 19:08 UTC (permalink / raw)
To: Randy Dunlap; +Cc: LKML, fengguang.wu, Steven Miao, adi-buildroot-devel
On Fri, 16 Jan 2015 14:35:48 -0800
Randy Dunlap <rdunlap@infradead.org> wrote:
> Don't build the blackfin gptimers-example module when BFIN_GPTIMERS
> is not enabled. Allow the build when BFIN_GPTIMERS is =y or =m.
Applied to the docs tree, thanks.
jon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-28 20:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-16 22:35 [PATCH] Documentation: fix blackfin gptimers-example build errors Randy Dunlap
2015-01-28 19:08 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox