Advertisement
Guest User

Untitled

a guest
Apr 30th, 2015
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. #### Defined in the .inc
  2. # Set a variable in .configure
  3. # $1 - Configure variable to be set
  4. # $2 - value [n/y/value]
  5. kernel_configure_variable() {
  6. # Remove the config
  7. CONF_SED_SCRIPT="$CONF_SED_SCRIPT /CONFIG_$1[ =]/d;"
  8. if test "$2" = "n"
  9. then
  10. echo "# CONFIG_$1 is not set" >> ${B}/.config
  11. else
  12. echo "CONFIG_$1=$2" >> ${B}/.config
  13. fi
  14. }
  15.  
  16. #### In my .bbappend:
  17. kernel_configure_variable "RD_GZIP" "y"
  18.  
  19. #### Error:
  20. ERROR: ParseError at FILE_PATH:3: unparsed line: 'kernel_configure_variable "BLK_DEV_INITRD" "y"'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement