[oe] MACHINE_KERNEL_PR overrides PR for modules

Andreas Oberritter obi at opendreambox.org
Thu Mar 24 15:37:03 UTC 2011


Hello,

how about this solution? For MACHINE_KERNEL_PR = "r11" and PR = "r20" it
creates PR = "r11.20", to mimic the revision numbers commonly seen with
recipes using INC_PR.

If PR doesn't start with 'r', +${PR} gets appended, so MACHINE_KERNEL_PR =
"foo1" and PR = "bar2" results in PR = "foo1+bar2".

Regards,
Andreas

Andreas Oberritter (1):
  kernel/module-base: Append PR to MACHINE_KERNEL_PR

 classes/kernel.bbclass      |   10 +++++++++-
 classes/module-base.bbclass |   10 +++++++++-
 2 files changed, 18 insertions(+), 2 deletions(-)

-- 
1.7.2.3





More information about the Openembedded-devel mailing list