Hi,<br><br>maybe we can add a simulated gpio driver in sandbox?<br><br>Regards<br>Alexander Aring<br><br><div class="gmail_quote">2012/10/16 Jean-Christophe PLAGNIOL-VILLARD <span dir="ltr"><<a href="mailto:plagnioj@jcrosoft.com" target="_blank">plagnioj@jcrosoft.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 16:02 Tue 16 Oct , zzs wrote:<br>
> my code baseed 7423f13<br>
><br>
> when making sandox with command oftree on then I got the flowwing<br>
> build error:<br>
><br>
> CC drivers/of/gpio.o<br>
> In file included from /home/zzs/work/repos/barebox/drivers/of/gpio.c:6:0:<br>
> /home/zzs/work/repos/barebox/include/gpio.h:4:22: fatal error: asm/gpio.h: No such file or directory<br>
> compilation terminated.<br>
> make[3]: *** [drivers/of/gpio.o] Error 1<br>
> make[2]: *** [drivers/of] Error 2<br>
> make[1]: *** [drivers] Error 2<br>
> make: *** [_all] Error 2<br>
><br>
> My building commandline like this:<br>
> CROSS_COMPILE= ARCH=sandbox make O=objtree sandbox_defconfig<br>
> CROSS_COMPILE= ARCH=sandbox make O=objtree xconfig<br>
> .... turn oftree on<br>
> CROSS_COMPILE= ARCH=sandbox make O=objtree<br>
><br>
> I think this is a bug<br>
</div>I'm not sure oftree make sense on sandbox<br>
<br>
but anyway the sandbox have no gpio support<br>
<br>
so gpio.c can not be compiled<br>
<br>
Best Regards,<br>
J.<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
barebox mailing list<br>
<a href="mailto:barebox@lists.infradead.org">barebox@lists.infradead.org</a><br>
<a href="http://lists.infradead.org/mailman/listinfo/barebox" target="_blank">http://lists.infradead.org/mailman/listinfo/barebox</a><br>
</div></div></blockquote></div><br>