linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Build failure: versatile express
@ 2013-08-15 11:44 Russell King - ARM Linux
  2013-08-15 15:35 ` [PATCH] power/reset: Make vexpress driver depend on required infrastructure Pawel Moll
  0 siblings, 1 reply; 3+ messages in thread
From: Russell King - ARM Linux @ 2013-08-15 11:44 UTC (permalink / raw)
  To: linux-arm-kernel

drivers/built-in.o: In function `vexpress_reset_do.clone.0':
iio-trig-interrupt.c:(.text+0x1aff38): undefined reference to `__vexpress_config_func_get'
iio-trig-interrupt.c:(.text+0x1aff4c): undefined reference to `vexpress_config_write'

The filename above will be misleading due to the way the toolchain works.

Configs etc at http://www.arm.linux.org.uk/developer/build/

Tree is arm-soc tip plus my tip plus Linus' tip.  This error has been
knocking about for some time now.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] power/reset: Make vexpress driver depend on required infrastructure
  2013-08-15 11:44 Build failure: versatile express Russell King - ARM Linux
@ 2013-08-15 15:35 ` Pawel Moll
  2013-08-28  1:35   ` Anton Vorontsov
  0 siblings, 1 reply; 3+ messages in thread
From: Pawel Moll @ 2013-08-15 15:35 UTC (permalink / raw)
  To: linux-arm-kernel

ARM Versatile Express reset driver requires platform-specific
config infrastructure to be present in the kernel. When
VEXPRESS_CONFIG is not selected, the build will fail like this:

drivers/built-in.o: In function `vexpress_reset_do.clone.0':
iio-trig-interrupt.c:(.text+0x1aff38): undefined reference to `__vexpress_config_func_get'
iio-trig-interrupt.c:(.text+0x1aff4c): undefined reference to `vexpress_config_write'

Added required dependency to the Kconfig entry.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
---
 drivers/power/reset/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
index ee039dc..26d79df 100644
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@ -34,7 +34,7 @@ config POWER_RESET_RESTART
 config POWER_RESET_VEXPRESS
 	bool "ARM Versatile Express power-off and reset driver"
 	depends on ARM || ARM64
-	depends on POWER_RESET
+	depends on POWER_RESET && VEXPRESS_CONFIG
 	help
 	  Power off and reset support for the ARM Ltd. Versatile
 	  Express boards.
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] power/reset: Make vexpress driver depend on required infrastructure
  2013-08-15 15:35 ` [PATCH] power/reset: Make vexpress driver depend on required infrastructure Pawel Moll
@ 2013-08-28  1:35   ` Anton Vorontsov
  0 siblings, 0 replies; 3+ messages in thread
From: Anton Vorontsov @ 2013-08-28  1:35 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Aug 15, 2013 at 04:35:52PM +0100, Pawel Moll wrote:
> ARM Versatile Express reset driver requires platform-specific
> config infrastructure to be present in the kernel. When
> VEXPRESS_CONFIG is not selected, the build will fail like this:
> 
> drivers/built-in.o: In function `vexpress_reset_do.clone.0':
> iio-trig-interrupt.c:(.text+0x1aff38): undefined reference to `__vexpress_config_func_get'
> iio-trig-interrupt.c:(.text+0x1aff4c): undefined reference to `vexpress_config_write'
> 
> Added required dependency to the Kconfig entry.
> 
> Signed-off-by: Pawel Moll <pawel.moll@arm.com>

Applied, thanks!

Anton

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-28  1:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-15 11:44 Build failure: versatile express Russell King - ARM Linux
2013-08-15 15:35 ` [PATCH] power/reset: Make vexpress driver depend on required infrastructure Pawel Moll
2013-08-28  1:35   ` Anton Vorontsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).