[Buildroot] [PATCH 1/2] qemu-system: new host package
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Dec 5 22:31:31 UTC 2013
Dear Arnout Vandecappelle,
On Thu, 05 Dec 2013 18:49:48 +0100, Arnout Vandecappelle wrote:
> >> Yes, I agree, the user mode emulation should probably be removed. It
> >> simply cannot work properly, because we have no way of guaranteeing
> >> that the kernel headers used for the target toolchain are older than
> >> the kernel running on the system.
>
> It's not possible to do it in Config.in, but it's easy to do during the
> build: compare /usr/include/linux/version.h with
> $(STAGING_DIR)/usr/include/linux/version.h
And then you fail the build if
$(STAGING_DIR)/usr/include/linux/version.h gives a newer version
of /usr/include/linux/version.h ? Could be possible, even if not really
nice. But François is proposing to remove cpanminus, which was the only
reason to have qemu-user support. So do we care?
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list