mirror of
git://git.yoctoproject.org/meta-rockchip.git
synced 2025-07-05 05:04:47 +02:00
Integrating initrd image generation to linux-rockchip-3.0.inc .
This is related to issue #3.
This commit is contained in:
parent
63f845bac9
commit
1a381d2ff4
|
@ -10,7 +10,8 @@ inherit kernel
|
|||
SRCBRANCH ?= "rockchip-3.0"
|
||||
DEFCONFIG ?= "rk3188_steak_defconfig"
|
||||
|
||||
SRC_URI = "git://github.com/linux-rockchip/rockchip-3.0.git;branch=${SRCBRANCH}"
|
||||
SRC_URI = "git://github.com/linux-rockchip/rockchip-3.0.git;branch=${SRCBRANCH} \
|
||||
git://github.com/radxa/initrd.git;destsuffix=${WORKDIR}/initrd"
|
||||
SRCREV_pn-${PN} = "${AUTOREV}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
@ -29,3 +30,10 @@ do_install_prepend() {
|
|||
install -d $kerneldir/arch/arm/plat-rk/rk_pm_tests
|
||||
touch $kerneldir/arch/arm/plat-rk/rk_pm_tests/Makefile
|
||||
}
|
||||
|
||||
do_deploy_append() {
|
||||
install -d ${DEPLOYDIR}
|
||||
cd ${WORKDIR}/initrd
|
||||
find . ! -path "*/.git*" ! -path "./README.md" ! -path "./Makefile" \
|
||||
| cpio -H newc -o > ${DEPLOYDIR}/initrd.img
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user