sandbox whith oftree on making error
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 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:
CROSS_COMPILE= ARCH=sandbox make O=objtree sandbox_defconfig CROSS_COMPILE= ARCH=sandbox make O=objtree xconfig
.... turn oftree on
CROSS_COMPILE= ARCH=sandbox make O=objtree
I think this is a bug
Signature · 9 lines
Best Regards, zzs _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Quoted 14 lines · zzs
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 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
Quoted 7 lines
My building commandline like this:
CROSS_COMPILE= ARCH=sandbox make O=objtreesandbox_defconfigCROSS_COMPILE= ARCH=sandbox make O=objtree xconfig
.... turn oftree on
CROSS_COMPILE= ARCH=sandbox make O=objtreeI 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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Hi,
maybe we can add a simulated gpio driver in sandbox?
Regards
Alexander Aring
2012/10/16 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
Quoted 29 lines · zzs
Quoted 8 lines
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 directoryQuoted 6 lines
compilation terminated.
make[3]: *** [drivers/of/gpio.o] Error 1 make[2]: *** [drivers/of] Error 2 make[1]: *** [drivers] Error 2
make: *** [_all] Error 2Quoted 7 lines
My building commandline like this:
CROSS_COMPILE= ARCH=sandbox make O=objtreesandbox_defconfigCROSS_COMPILE= ARCH=sandbox make O=objtree xconfig
.... turn oftree on
CROSS_COMPILE= ARCH=sandbox make O=objtreeI think this is a bug
I'm not sure oftree make sense on sandbox
but anyway the sandbox have no gpio support
so
gpio.ccan not be compiled
Quoted 8 lines
Best Regards,
J._______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Quoted 3 lines · Alexander Aring
Hi,
maybe we can add a simulated gpio driver in sandbox?
go a head propose a patch
Best Regards,
J.
Quoted 34 lines
Regards
Alexander Aring2012/10/16 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
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 Adrivers/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=objtreesandbox_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 sandboxbut anyway the sandbox have no gpio support
Quoted 8 lines
so
gpio.ccan not be compiledBest Regards,
J.
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Quoted 8 lines · zzs
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
Signature · 9 lines
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 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox