sandbox whith oftree on making error

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Oct 16 05:28:39 EDT 2012


On 11:17 Tue 16 Oct     , Alexander Aring wrote:
>    Hi,
> 
>    maybe we can add a simulated gpio driver in sandbox?
go a head propose a patch

Best Regards,
J.
> 
>    Regards
>    Alexander Aring
> 
>    2012/10/16 Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> 
>      On 16:02 Tue 16 Oct A  A  , zzs wrote:
>      > my code baseed 7423f13
>      >
>      > when making sandox with command oftree on then I got the flowwing
>      > build error:
>      >
>      > CC A  A  A 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
>      > compilation terminated.
>      > make[3]: *** [drivers/of/gpio.o] Error 1
>      > make[2]: *** [drivers/of] Error 2
>      > make[1]: *** [drivers] Error 2
>      > make: *** [_all] Error 2
>      >
>      > My building commandline like this:
>      > A  A  CROSS_COMPILE= ARCH=sandbox make O=objtree sandbox_defconfig
>      > A  A  CROSS_COMPILE= ARCH=sandbox make O=objtree xconfig
>      > A  A  A  A  .... turn oftree on
>      > A  A  CROSS_COMPILE= ARCH=sandbox make O=objtree
>      >
>      > I think this is a bug
>      I'm not sure oftree make sense on sandbox
> 
>      but anyway the sandbox have no gpio support
> 
>      so gpio.c can not be compiled
> 
>      Best Regards,
>      J.
>      _______________________________________________
>      barebox mailing list
>      barebox at lists.infradead.org
>      http://lists.infradead.org/mailman/listinfo/barebox



More information about the barebox mailing list