Skip to content
  1. Nov 27, 2012
  2. Nov 23, 2012
  3. Nov 22, 2012
  4. Nov 21, 2012
  5. Nov 19, 2012
  6. Nov 16, 2012
  7. Nov 13, 2012
  8. Nov 12, 2012
  9. Nov 02, 2012
  10. Oct 30, 2012
  11. Oct 28, 2012
    • Paul Eggleton's avatar
      Replace bb.data.* with d.* · 3a30c562
      Paul Eggleton authored
      Used sed expression given here:
      
      http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/012373.html
      
      
      
      Plus an additional expression for .expand. Full expression is:
      
      sed \
      -e 's:bb.data.\(setVar([^,]*,[^,]*\), \([^ )]*\) *):\2.\1):g' \
      -e 's:bb.data.\(setVarFlag([^,]*,[^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \
      -e 's:bb.data.\(getVar([^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \
      -e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \
      -e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \
      -e 's:bb.data.\(getVar([^,]*\), \([^) ]*\) *):\2.\1):g' \
      -e 's:bb.data.\(expand([^,]*\), \([^ )]*\) *):\2.\1):g' \
      -i `grep -ril bb.data *`
      
      Some minor correction in systemd.bbclass was needed for some expressions
      that didn't quite match the regex in the desired way; additionally a few
      instances were manually changed.
      
      Signed-off-by: default avatarPaul Eggleton <paul.eggleton@linux.intel.com>
      3a30c562