summaryrefslogtreecommitdiff
path: root/recipes/qi/qi-ubi_git.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-01-05 14:01:36 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2010-01-06 19:10:57 +0100
commitf34f361fe779e817cf6e44680be4a9820ee88018 (patch)
tree738f1ba3b0483d857e68a689fa7e3dffd8d8753a /recipes/qi/qi-ubi_git.bb
parent74c50903a0d38f9f2be28675bfb1a37ff4a39357 (diff)
qi-ubi: add qi variant with UBI enabled in kernel params
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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 \
+"