Skip to contentSkip to conversation

Documentation: fix blackfin gptimers-example build errors

PATCH Applied Randy Dunlap 2 participants 2 messages Jan 16, 2015 – Jan 28, 2015 Documentation

lore
Share & tools
lore

Randy Dunlap

author reviewer
#0 lore raw

PATCH 1/1 Documentation: fix blackfin gptimers-example build errors

From: Randy Dunlap <[email protected]>

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!

---
 Documentation/blackfin/Makefile |    2 ++
 1 file changed, 2 insertions(+)
Documentation/blackfin/Makefile +2 -0
@@ -1,3 +1,5 @@
 ifneq ($(CONFIG_BLACKFIN),)
+ifneq ($(CONFIG_BFIN_GPTIMERS,)
 obj-m := gptimers-example.o
 endif
+endif
maintainer Applied
#1 lore raw
Quoted 2 lines · On Fri, 16 Jan 2015 14:35:48 -0800 Randy Dunlap <[email protected]> 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