NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-arm/52163 - support for gpio for Xscale



On Tue, 16 May 2017, smesgr wrote:

Hi Paul,

I have changed my local code according your suggestions. If gpio is available in the kernel configuration the kernel compiles and runs fine. If the gpio attachement in kernel configuration is removed however the linker complaining about unresolved symbol gpiobus_print. To be honest I already expected a linker error without NGPIO preprocessor directives. I'm not entirely sure how NetBSD make process is done, but I assume the sys/gpio/gpio.c isn't compiled if not configured. I can add the NGPIO conditions again, but doubtful If the additional rescan is still useful.

Hmmm.  I would have to think about this further.



+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index