aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/qi/qi-ubi_git.bb
blob: 35a7eaaa9085d2c7f6af3ff817afc8033056ce6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require qi_git.bb

# workaround for (in this case) harmless error during image build
# ERROR: Multiple .bb files are due to be built which each provide virtual/bootloader
# it's just alternative to qi, so it's ok to build both and user will download one of them
PROVIDES = ""

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://rootfstype.ubifs.patch \
"