[linux-vuplus] delete /tmp/vmlinux-3.13.5 within do_install.
authorhschang <chang@dev3>
Wed, 13 May 2015 07:00:20 +0000 (16:00 +0900)
committerhschang <chang@dev3>
Wed, 13 May 2015 07:01:49 +0000 (16:01 +0900)
meta-bsp/recipes-kernel/linux/linux-vuplus-3.13.5.inc
meta-bsp/recipes-kernel/linux/linux-vuplus-3.9.6.inc

index 8e07bb8..010710e 100644 (file)
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
 KV = "3.13.5"
 
 
 KV = "3.13.5"
 
-INC_PR = "r6"
+INC_PR = "r7"
 SRCREV = ""
 
 MODULE = "linux-3.13.5"
 SRCREV = ""
 
 MODULE = "linux-3.13.5"
@@ -40,17 +40,9 @@ do_configure_prepend() {
 }
 
 kernel_do_install_append() {
 }
 
 kernel_do_install_append() {
-        install -d ${D}/${KERNEL_IMAGEDEST}
-        install -m 0755 ${KERNEL_OUTPUT} ${D}/${KERNEL_IMAGEDEST}
-        gzip ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}
-}
-
-kernel_do_compile() {
-        unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
-        oe_runmake ${KERNEL_IMAGETYPE_FOR_MAKE} ${KERNEL_ALT_IMAGETYPE} CC="${KERNEL_CC}" LD="${KERNEL_LD}"
-        if test "${KERNEL_IMAGETYPE_FOR_MAKE}.gz" = "${KERNEL_IMAGETYPE}"; then
-                gzip -9c < "${KERNEL_IMAGETYPE_FOR_MAKE}" > "${KERNEL_OUTPUT}"
-        fi
+        mv ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}
+        gzip -9c ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} > ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}.gz
+        rm ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}
 }
 
 pkg_postinst_kernel-image () {
 }
 
 pkg_postinst_kernel-image () {
index 1aff886..08ddf7a 100644 (file)
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
 KV = "3.9.6"
 
 
 KV = "3.9.6"
 
-INC_PR = "r4"
+INC_PR = "r5"
 SRCREV = ""
 
 MODULE = "linux-3.9.6"
 SRCREV = ""
 
 MODULE = "linux-3.9.6"
@@ -36,17 +36,9 @@ do_configure_prepend() {
 }
 
 kernel_do_install_append() {
 }
 
 kernel_do_install_append() {
-        install -d ${D}/${KERNEL_IMAGEDEST}
-        install -m 0755 ${KERNEL_OUTPUT} ${D}/${KERNEL_IMAGEDEST}
-        gzip ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}
-}
-
-kernel_do_compile() {
-        unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
-        oe_runmake ${KERNEL_IMAGETYPE_FOR_MAKE} ${KERNEL_ALT_IMAGETYPE} CC="${KERNEL_CC}" LD="${KERNEL_LD}"
-        if test "${KERNEL_IMAGETYPE_FOR_MAKE}.gz" = "${KERNEL_IMAGETYPE}"; then
-                gzip -9c < "${KERNEL_IMAGETYPE_FOR_MAKE}" > "${KERNEL_OUTPUT}"
-        fi
+        mv ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}
+        gzip -9c ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} > ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}.gz
+        rm ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}
 }
 
 pkg_postinst_kernel-image () {
 }
 
 pkg_postinst_kernel-image () {