Skip to content

Commit

Permalink
[hd2400] Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Schimmelreiter committed Jan 18, 2017
1 parent 02444e7 commit 0db31d8
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -38,7 +38,7 @@ export OS = "Linux"
KERNEL_OBJECT_SUFFIX = "ko"
KERNEL_OUTPUT = "vmlinux"
KERNEL_IMAGETYPE = "vmlinux"
KERNEL_IMAGEDEST = "/boot"
KERNEL_IMAGEDEST = "/tmp"

FILES_kernel-image = "${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}*"

Expand All @@ -53,6 +53,7 @@ pkg_postinst_kernel-image () {
if [ -f /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}.gz ] ; then
flash_erase /dev/mtd1 0 0
nandwrite -p /dev/mtd1 /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}.gz
rm -f /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}.gz
fi
fi
true
Expand Down

0 comments on commit 0db31d8

Please sign in to comment.