summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/pramfs-3.0.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/pramfs-3.0.inc')
-rw-r--r--recipes-kernel/linux/pramfs-3.0.inc21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes-kernel/linux/pramfs-3.0.inc b/recipes-kernel/linux/pramfs-3.0.inc
new file mode 100644
index 0000000..86d78e3
--- /dev/null
+++ b/recipes-kernel/linux/pramfs-3.0.inc
@@ -0,0 +1,21 @@
1RRECOMMENDS_${PN} += "pramfs-init"
2
3PRAMFS_VERSION = '1.4.2-3.10_patched'
4
5SRC_URI += "file://pramfs-${PRAMFS_VERSION}.tar.gz"
6
7KERNEL_FEATURES_append = " cfg/pramfs"
8STAGING_KERNEL_FEATURES_append = " cfg/pramfs"
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