diff options
author | Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> | 2018-02-20 12:11:56 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-02-25 23:16:05 +0100 |
commit | 78ec4bd9e639616480d3e024a2bd6b2e52b4072d (patch) | |
tree | 1f8643d2f456edd8eeb921356ee986bf8ff7dcfc /docs/manual/adding-packages-hooks.txt | |
parent | 7bb17b10af531749192e067efd67a117f2bc8053 (diff) | |
download | buildroot-78ec4bd9e639616480d3e024a2bd6b2e52b4072d.tar.gz buildroot-78ec4bd9e639616480d3e024a2bd6b2e52b4072d.zip |
check-bin-arch: skip /lib/modules to allow 32-bit userland on 64-bit arch
The script check-bin-arch fails as follows on a config for PowerPC e6500
(64-bit CPU) with BR2_ARCH="powerpc" (32-bit userland desired):
ERROR: architecture for "/lib/modules/..../lib/libcrc32c.ko"
is "PowerPC64", should be "PowerPC"
This situation is perfectly acceptable: the kernel is 64-bit and so are its
modules, even though userland is 32-bit.
To keep check-bin-arch and its caller simple, just skip /lib/modules/
entirely, like is done for /lib/firmware and some others.
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'docs/manual/adding-packages-hooks.txt')
0 files changed, 0 insertions, 0 deletions