sandbox whith oftree on making error

Sascha Hauer s.hauer at pengutronix.de
Tue Oct 16 16:27:42 EDT 2012


On Tue, Oct 16, 2012 at 04:02:09PM +0800, zzs wrote:
> my code baseed 7423f13
> 
> when making sandox with command oftree on then I got the flowwing
> build error:
> 
> CC      drivers/of/gpio.o
> In file included from /home/zzs/work/repos/barebox/drivers/of/gpio.c:6:0:
> /home/zzs/work/repos/barebox/include/gpio.h:4:22: fatal error: asm/gpio.h: No such file or directory

We could add a asm/gpio.h for sandbox including asm-generic/gpio.h. A
much better solution would be to get rid of all asm/gpio.h. They all
declare the same API anyway, if they don't, it's a bug.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list