Hi,

I have noticed that since 24865, a fresh rebuild of world fails at
building tools/qemu (at least with an x86 generic target).

Maybe because after that changeset, tools/Makefile reads:

...
$(curdir)/qemu/compile := $(curdir)/e2fsprogs/install
...
$(curdir)/qemu/compile := $(curdir)/automake/install
...

I don't have enough knowledge to claim one way or the other. However,
the build problem seems, somehow unrelated:

make[3]: Entering directory `/home/arteme/O4/openwrt/tools/qemu'
make -C /home/arteme/O4/openwrt/build_dir/host/qemu-0.13.0 qemu-img
make[4]: Entering directory `/home/arteme/O4/openwrt/build_dir/host/qemu-0.13.0'
make[4]: *** No rule to make target `/qemu-img-cmds.hx', needed by
`qemu-img-cmds.h'.  Stop.
make[4]: Leaving directory `/home/arteme/O4/openwrt/build_dir/host/qemu-0.13.0'
make[3]: *** [/home/arteme/O4/openwrt/build_dir/host/qemu-0.13.0/.built] Error 2
make[3]: Leaving directory `/home/arteme/O4/openwrt/tools/qemu'

Seems like qemu fails to configures itself, config-host.mak is missing
and SRC_PATH is left unset. The Makefile magic that is supposed to can
this case and print "Please call configure before running make!" is
not working because the make command is "make -C
<build_dir>/host/qemu-0.13.0 qemu-img" i.e. with a specified target,
not a default one.

Regards,
Artem Egorkine
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to