We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77ff32a commit caca6ecCopy full SHA for caca6ec
meta/classes/kernel.bbclass
@@ -130,7 +130,7 @@ inherit ${KERNEL_CLASSES}
130
# the symlink.
131
do_unpack[cleandirs] += " ${S} ${STAGING_KERNEL_DIR} ${B} ${STAGING_KERNEL_BUILDDIR}"
132
do_clean[cleandirs] += " ${S} ${STAGING_KERNEL_DIR} ${B} ${STAGING_KERNEL_BUILDDIR}"
133
-base_do_unpack_append () {
+python do_symlink_kernsrc () {
134
s = d.getVar("S")
135
if s[-1] == '/':
136
# drop trailing slash, so that os.symlink(kernsrc, s) doesn't use s as directory name and fail
@@ -147,6 +147,7 @@ base_do_unpack_append () {
147
shutil.move(s, kernsrc)
148
os.symlink(kernsrc, s)
149
}
150
+addtask symlink_kernsrc before do_configure after do_unpack
151
152
inherit kernel-arch deploy
153
0 commit comments