|
@@ -66,7 +66,9 @@ else
|
|
cp System.map "$tmpdir/boot/System.map-$version"
|
|
cp System.map "$tmpdir/boot/System.map-$version"
|
|
cp .config "$tmpdir/boot/config-$version"
|
|
cp .config "$tmpdir/boot/config-$version"
|
|
# Not all arches include the boot path in KBUILD_IMAGE
|
|
# Not all arches include the boot path in KBUILD_IMAGE
|
|
- if ! cp $KBUILD_IMAGE "$tmpdir/boot/vmlinuz-$version"; then
|
|
|
|
|
|
+ if [ -e $KBUILD_IMAGE ]; then
|
|
|
|
+ cp $KBUILD_IMAGE "$tmpdir/boot/vmlinuz-$version"
|
|
|
|
+ else
|
|
cp arch/$ARCH/boot/$KBUILD_IMAGE "$tmpdir/boot/vmlinuz-$version"
|
|
cp arch/$ARCH/boot/$KBUILD_IMAGE "$tmpdir/boot/vmlinuz-$version"
|
|
fi
|
|
fi
|
|
fi
|
|
fi
|