diff options
author | Denys Dmytriyenko <denis@denix.org> | 2021-03-31 19:59:51 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-02 16:53:08 +0000 |
commit | 46f68b5121327bb105b38de9c65fd26598cf8c3b (patch) | |
tree | 97a1dff46bfa395285aae3ddc05b4ee404007b8f /meta | |
parent | e24afc304af2212ba5253b20fcabb958275ed4cc (diff) | |
download | poky-46f68b5121327bb105b38de9c65fd26598cf8c3b.tar.gz |
make-mod-scripts: pass CROSS_COMPILE to configure and build
Fixes:
| CALL /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/scripts/checksyscalls.sh
| CALL /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/scripts/atomic/check-atomics.sh
| LDS arch/arm64/kernel/vdso/vdso.lds
| CC arch/arm64/kernel/vdso/vgettimeofday.o
| AS arch/arm64/kernel/vdso/note.o
| AS arch/arm64/kernel/vdso/sigreturn.o
| LD arch/arm64/kernel/vdso/vdso.so.dbg
| VDSOSYM include/generated/vdso-offsets.h
| OBJCOPY arch/arm64/kernel/vdso/vdso.so
| objcopy: Unable to recognise the format of the input file `arch/arm64/kernel/vdso/vdso.so.dbg'
| /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/arch/arm64/kernel/vdso/Makefile:61: recipe for target 'arch/arm64/kernel/vdso/vdso.so' failed
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: Nishanth Menon <nm@ti.com>
(From OE-Core rev: 225ae178fc5fcdca17d9afab74193f8bd451b46a)
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ddad8183490c725062626fa52985da2b04a2aa8f)
Reported-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb index b58fa9a603..f9df345ca5 100644 --- a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb +++ b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb | |||
@@ -19,7 +19,7 @@ DEPENDS += "bc-native bison-native" | |||
19 | DEPENDS += "gmp-native" | 19 | DEPENDS += "gmp-native" |
20 | 20 | ||
21 | EXTRA_OEMAKE = " HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}"" | 21 | EXTRA_OEMAKE = " HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}"" |
22 | EXTRA_OEMAKE += " HOSTCXX="${BUILD_CXX} ${BUILD_CXXFLAGS} ${BUILD_LDFLAGS}"" | 22 | EXTRA_OEMAKE += " HOSTCXX="${BUILD_CXX} ${BUILD_CXXFLAGS} ${BUILD_LDFLAGS}" CROSS_COMPILE=${TARGET_PREFIX}" |
23 | 23 | ||
24 | # Build some host tools under work-shared. CC, LD, and AR are probably | 24 | # Build some host tools under work-shared. CC, LD, and AR are probably |
25 | # not used, but this is the historical way of invoking "make scripts". | 25 | # not used, but this is the historical way of invoking "make scripts". |