summaryrefslogtreecommitdiff
path: root/recipes/qi/qi-ubi_git.bb
blob: fb8bbe0f06d801e6bbe52beca488e06e404ac0b1 (plain)
1
2
3
4
5
6
7
8
9
10
require qi_git.bb

do_configure_prepend() {
  sed -i 's#\(IMAGE = .(IMAGE_DIR)/\)qi-\(.(CPU)-.(BUILD_VERSION)\)#\1qi-ubi-\2#g' ${S}/Makefile
  sed -i 's#\(UDFU_IMAGE = .(IMAGE_DIR)/\)qi-\(.(CPU)-.(BUILD_VERSION).udfu\)#\1qi-ubi-\2#g' ${S}/Makefile
}

SRC_URI_append = "\
  file://0002-gta02-add-kernel-params-to-boot-from-ubifs-ubi0-om-g.patch;patch=1 \
"