diff options
-rw-r--r-- | classes/kernel.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index 8416b8acb3..ea99ec5401 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -83,6 +83,7 @@ kernel_do_stage() { mkdir -p ${STAGING_KERNEL_DIR}/include/$ASMDIR cp -fR include/$ASMDIR/* ${STAGING_KERNEL_DIR}/include/$ASMDIR/ + rm -f $ASMDIR ${STAGING_KERNEL_DIR}/include/asm ln -sf $ASMDIR ${STAGING_KERNEL_DIR}/include/asm mkdir -p ${STAGING_KERNEL_DIR}/include/asm-generic |