* sandbox whith oftree on making error
@ 2012-10-16 8:02 zzs
2012-10-16 8:46 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-16 20:27 ` Sascha Hauer
0 siblings, 2 replies; 5+ messages in thread
From: zzs @ 2012-10-16 8:02 UTC (permalink / raw)
To: barebox
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
--
Best Regards,
zzs
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: sandbox whith oftree on making error
2012-10-16 8:02 sandbox whith oftree on making error zzs
@ 2012-10-16 8:46 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-16 9:17 ` Alexander Aring
2012-10-16 20:27 ` Sascha Hauer
1 sibling, 1 reply; 5+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-10-16 8:46 UTC (permalink / raw)
To: barebox
On 16:02 Tue 16 Oct , 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
> 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
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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: sandbox whith oftree on making error
2012-10-16 8:46 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2012-10-16 9:17 ` Alexander Aring
2012-10-16 9:28 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 1 reply; 5+ messages in thread
From: Alexander Aring @ 2012-10-16 9:17 UTC (permalink / raw)
To: Jean-Christophe PLAGNIOL-VILLARD; +Cc: barebox
[-- Attachment #1.1: Type: text/plain, Size: 1298 bytes --]
Hi,
maybe we can add a simulated gpio driver in sandbox?
Regards
Alexander Aring
2012/10/16 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> On 16:02 Tue 16 Oct , 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
> > 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
> 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@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
[-- Attachment #1.2: Type: text/html, Size: 1951 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: sandbox whith oftree on making error
2012-10-16 9:17 ` Alexander Aring
@ 2012-10-16 9:28 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 0 replies; 5+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-10-16 9:28 UTC (permalink / raw)
To: Alexander Aring; +Cc: barebox
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@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@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: sandbox whith oftree on making error
2012-10-16 8:02 sandbox whith oftree on making error zzs
2012-10-16 8:46 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2012-10-16 20:27 ` Sascha Hauer
1 sibling, 0 replies; 5+ messages in thread
From: Sascha Hauer @ 2012-10-16 20:27 UTC (permalink / raw)
To: barebox
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 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-10-16 20:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-16 8:02 sandbox whith oftree on making error zzs
2012-10-16 8:46 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-16 9:17 ` Alexander Aring
2012-10-16 9:28 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-16 20:27 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox