summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 383043ed9c..624b15101e 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -244,7 +244,11 @@ kernel_do_install() {
244 find . -depth -not -path "./Documentation*" -not -path "./.*" -print0 | cpio --null -pdlu $kerneldir 244 find . -depth -not -path "./Documentation*" -not -path "./.*" -print0 | cpio --null -pdlu $kerneldir
245 cd "$pwd" 245 cd "$pwd"
246 fi 246 fi
247 install -m 0644 ${KERNEL_OUTPUT} $kerneldir/${KERNEL_IMAGETYPE} 247
248 # Test to ensure that the output file and image type are not actually
249 # the same file. If hardlinking is used, they will be the same, and there's
250 # no need to install.
251 ![ ${KERNEL_OUTPUT} -ef $kerneldir/${KERNEL_IMAGETYPE} ] && install -m 0644 ${KERNEL_OUTPUT} $kerneldir/${KERNEL_IMAGETYPE}
248 install -m 0644 System.map $kerneldir/System.map-${KERNEL_VERSION} 252 install -m 0644 System.map $kerneldir/System.map-${KERNEL_VERSION}
249 253
250 # Dummy Makefile so the clean below works 254 # Dummy Makefile so the clean below works