Revert "kernel: restore scripts in the sysroot"
This reverts commit 6a6735cb98
.
The module class already ensures the scripts are rebuilt correctly. Running
this at sstate installation time is problematic since it can require the
cross compiler. Adding such a dependency would cause issues of its own.
(From OE-Core rev: b2c948d56241ff7cdea2e9e68b740f305c72f5ca)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
3ee3d3ac83
commit
3f5e982107
|
@ -290,17 +290,6 @@ kernel_do_install() {
|
||||||
}
|
}
|
||||||
do_install[prefuncs] += "package_get_auto_pr"
|
do_install[prefuncs] += "package_get_auto_pr"
|
||||||
|
|
||||||
|
|
||||||
SSTATEPOSTINSTFUNCS += "kernelscripts_sstate_postinst"
|
|
||||||
kernelscripts_sstate_postinst () {
|
|
||||||
if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ]; then
|
|
||||||
(
|
|
||||||
cd ${STAGING_KERNEL_DIR}
|
|
||||||
oe_runmake scripts
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python sysroot_stage_all () {
|
python sysroot_stage_all () {
|
||||||
oe.path.copyhardlinktree(d.expand("${D}${KERNEL_SRC_PATH}"), d.expand("${SYSROOT_DESTDIR}${KERNEL_SRC_PATH}"))
|
oe.path.copyhardlinktree(d.expand("${D}${KERNEL_SRC_PATH}"), d.expand("${SYSROOT_DESTDIR}${KERNEL_SRC_PATH}"))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue