scripts/create-recipe: minor fixes
authorYi Zhao <yi.zhao@windriver.com>
Tue, 2 Sep 2014 05:47:42 +0000 (13:47 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Sep 2014 10:09:03 +0000 (11:09 +0100)
commit96ac3c00a5dc9491966ba433e758fadd7bca3efa
tree574c5224a208766d71746a126ffe3e177abfd2da
parent7acf7177de3a9c71e2f76ee05d4c5d27e5aec79b
scripts/create-recipe: minor fixes

Fixed:
- Remove PR. We don't need the "PR = r0" in the bb file.
- Function length can't get the array's size correctly.
  Should use function scalar.

(From OE-Core rev: efb9f9f1d9a85a22991f99277f77b87784762cbb)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/create-recipe