]> code.ossystems Code Review - openembedded-core.git/commit
kernel.bbclass: update KERNEL_IMAGE_MAXSIZE
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 7 Jul 2014 09:33:59 +0000 (02:33 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Jul 2014 16:37:38 +0000 (17:37 +0100)
commit7384d2831c713ac5999aca83c312154dc15cec56
tree0e86318a328c451a7dcfa861a3ec60ea5bef34d2
parent16aa94e4543fc6e6540b203bc716e6f275f514c7
kernel.bbclass: update KERNEL_IMAGE_MAXSIZE

* Make KERNEL_IMAGE_MAXSIZE and IMAGE_ROOTFS_SIZE have the same algorithm:
  - Use Kbytes as the unit since we use this in other codes.
  - Use "du" rather than "ls" to figure out the size since we use this in
    image.py.

[YOCTO #2610]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/kernel.bbclass