[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] tcpdump in petalinux.



Hi Leonid,

Leonid wrote:

cd build; ../configure --host=microblaze-uclinux --with-pcap=linux
--with-headers=/home/leonid/lm125/uClinux/petalinux-v0.10-rc1/software/p
etalinux-dist/include)
configure: WARNING: If you wanted to set the --build type, don't use
--host.
    If a cross compiler is detected then cross compile mode will be
used.
checking build system type... i686-pc-linux-gnuaout
checking host system type... Invalid configuration `microblaze-uclinux':

The attached patch to petalinux-dist/lib/libpcap/config.sub will get you going. Since the initial PetaLinux release I've audited all of the lib and user apps to make sure the MicroBlaze is a valid target.

Regards,

John

Index: config.sub
===================================================================
--- config.sub	(revision 2430)
+++ config.sub	(revision 2431)
@@ -238,6 +238,7 @@
 	| i370 | i860 | i960 | ia64 \
 	| ip2k | iq2000 \
 	| m32r | m68000 | m68k | m88k | mcore \
+	| mb | microblaze \
 	| mips | mipsbe | mipseb | mipsel | mipsle \
 	| mips16 \
 	| mips64 | mips64el \
@@ -314,6 +315,7 @@
 	| m32r-* \
 	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
 	| m88110-* | m88k-* | mcore-* \
+	| mb-* | microblaze-* \
 	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
 	| mips16-* \
 	| mips64-* | mips64el-* \