On Dec 6, 2007 3:15 PM, John Williams <
jwilliams@xxxxxxxxxxxxxx> wrote:
Hi,
Seok Woo Jang wrote:
[snip]
> I'm execute the following command to start the build process.
>
> [root@XILINX petalinux-dist]# yes "" | make oldconfig dep all
[snip]
>
> AS usr/initramfs_data.o
> LD usr/built-in.o
> LD arch/microblaze/platform/built-in.o
> /root/petalinux-v0.30-rc1/tools/linux-i386/microblaze-uclinux-tools/bin/microblaze-
> uclinux-ld.real: cannot open arch/microblaze/platform/common/built-in.o:
> No such file or directory
> make[2]: *** [arch/microblaze/platform/built-in.o] Error 1
> make[1]: *** [arch/microblaze/platform] Error 2
> make[1]: Leaving directory
> `/root/petalinux-v0.30-rc1/software/linux-2.6.x-petalogix'
> make: *** [linux] Error 1
> [root@XILINX petalinux-dist]#
Thanks for reporting this. The reason is that none of the following
device drivers have been enabled:
(CONFIG_MTD_PHYSMAP)
(CONFIG_XILINX_GPIO)
(CONFIG_XILINX_SPI)
(CONFIG_SERIAL_UARTLITE)
(CONFIG_XILINX_SYSACE)
(CONFIG_INPUT_KEYPADDEV)
This is triggering a bug/deficiency in the way the platform build system
is currently configured.
If it really is your intention not to build even the uartlite driver,
then you could do something like this:
1. Add
obj-y += dummy.o
to arch/microblaze/platform/common/Makefile
2. $ touch dummy.c
in the same directory
This will create an empty object file that will keep the build process
happy.
There's no doubt a better way to solve this, but it will require some
thought.
Regards,
John
PS You really shouldn't be building this stuff as the root user. It is
very easy to make a mistake (or a build script makes a mistake), that is
harmless if you are not root, but fatal if you are.
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page :
http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/