summaryrefslogtreecommitdiffstats
path: root/recipes/qi/qi-ubi_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/qi/qi-ubi_git.bb')
-rw-r--r--recipes/qi/qi-ubi_git.bb10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes/qi/qi-ubi_git.bb b/recipes/qi/qi-ubi_git.bb
new file mode 100644
index 0000000000..fb8bbe0f06
--- /dev/null
+++ b/recipes/qi/qi-ubi_git.bb
@@ -0,0 +1,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 \
+"