summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/pramfs-3.12.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/pramfs-3.12.inc')
-rw-r--r--recipes-kernel/linux/pramfs-3.12.inc21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes-kernel/linux/pramfs-3.12.inc b/recipes-kernel/linux/pramfs-3.12.inc
new file mode 100644
index 0000000..ec5775d
--- /dev/null
+++ b/recipes-kernel/linux/pramfs-3.12.inc
@@ -0,0 +1,21 @@
1RRECOMMENDS_${PN} += "pramfs-init"
2
3PRAMFS_VERSION = '1.5.1-3.12'
4
5SRC_URI += "file://pramfs-${PRAMFS_VERSION}.tar.gz \
6 file://cfg/00005-pramfs.cfg"
7
8STAGING_KERNEL_FEATURES_append = " cfg/00005-pramfs.cfg"
9
10do_apply_pramfs() {
11 # Apply PRAMFS patch
12
13 # Already done by bitbake ->
14 # tar xvf ${WORKDIR}/pramfs-${PRAMFS_VERSION}.tar.gz -C ${WORKDIR}
15 cd ${WORKDIR}/pramfs-${PRAMFS_VERSION}/
16 ./patch-ker.sh ${S}
17 cd -
18}
19
20do_apply_pramfs[deptask] = "do_unpack"
21addtask apply_pramfs after do_unpack before do_patch