Fix do_install issue for freetype-native 65/6165/2
authorPhong Tran <tranmanphong@gmail.com>
Thu, 21 Jul 2016 16:18:33 +0000 (23:18 +0700)
committerPhong Tran <tranmanphong@gmail.com>
Fri, 22 Jul 2016 13:12:06 +0000 (20:12 +0700)
commitbe991aaa39202388b212cbb8de25d50313d8472f
tree76d27df7b24c673750ac9288e731b09a67814cda
parenteb97aa262140951ee881d9dced2e90baab2abf41
Fix do_install issue for freetype-native

The TOP_DIR is wrong in case native compile.
The value of PN=freetype-native. It causes do_install
error. This is error log of the issue

install: cannot stat
'...build/tmp/work/x86_64-linux/freetype-native/2.6-r0/ft2demos-2.6/bin/ftbench':
No such file or directory
(virtual:native: .../freetype_2.6.bb,do_install) failed with exit code '1'

This will change to use BPN instead of PN. BPN=freetype in both native
and cross compile.

Tested OK with bitbake freetype freetype-native.

Change-Id: I5a2b5bcc80755165ba026aedd177d03bc3f0e4a5
Signed-off-by: Phong Tran <tranmanphong@gmail.com>
meta-ivi-common/recipes-test/freetype/freetype_%.bbappend