/quagga'
make[2]: *** [quagga] Error 2
make[2]: Leaving directory `/root/uClinux-dist/user'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/uClinux-dist/user'
make: *** [subdirs] Error 1
root@potxandio-laptop:~/uClinux-dist#
Davidm warn me to make sure my config.arch (or your vendors/config/microblaze
/config.arch) is setting CONFIGURE_OPTS appropriately.
Exactly! There were not CONFIGURE_OPTS in my config.arch file. I have added this to the config.arch file:
# These can be used by configure.
# Either configure $(CONFIGURE_OPTS)
# or configure --host=$(TARGETARCH) --build=$(HOSTARCH) --target=$(TARGETARCH)
#
TARGETARCH := microblaze-linux
HOSTARCH := $(shell sh $(ROOTDIR)/tools/config.guess)
CONFIGURE_OPTS := --host=$(TARGETARCH) --build=$(HOSTARCH) --target=$(TARGETARCH)
But I get the next error:
checking build system type... i686-pc-linux-gnu
checking host system type... Invalid configuration `microblaze-linux': machine `microblaze' not recognized
configure: error: /bin/bash ../config.sub microblaze-linux failed
make[3]: *** [build/build] Error 1
make[3]: Leaving directory `/root/uClinux-dist/user/quagga'
make[2]: *** [quagga] Error 2
make[2]: Leaving directory `/root/uClinux-dist/user'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/uClinux-dist/user'
make: *** [subdirs] Error 1
root@potxandio-laptop:~/uClinux-dist#
What
do I have to write in TARGETARCH option? I have tried several
combinations: mb-linux, microblaze-linux, mb-elf-linux,
microblaze-elf-linux.
Cheers,
Pello