Advertisement
RobertBerger

remove append

Jul 22nd, 2022
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. DESCRIPTION = "bitbake trace var change"
  2. SECTION = "examples"
  3. LICENSE = "MIT"
  4. LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
  5.  
  6. # -->
  7. VAR_t1 = "val1_t1"
  8. VAR_t1 += "(+=)val2_t1"
  9. VAR_t1:remove = " val3_t1"
  10. VAR_t1:append = " val3_t1"
  11.  
  12. python do_trace_var_py () {
  13. var1_t1 = d.getVar("VAR_t1", True)
  14. bb.warn("VAR_t1 is %s\n" %var1_t1)
  15. }
  16.  
  17. addtask do_trace_var_py
  18. # <--
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement