Created
September 28, 2012 19:17
-
-
Save kraj/3801635 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inherit kernel | |
require recipes-kernel/linux/linux-dtb.inc | |
DESCRIPTION = "Linux kernel with full rootfs for Freescale platforms" | |
SECTION = "kernel" | |
LICENSE = "GPLv2" | |
require recipes-kernel/linux/linux-qoriq-sdk.inc | |
do_configure_prepend() { | |
# copy desired defconfig so we pick it up for the real kernel_do_configure | |
cp ${KERNEL_DEFCONFIG} ${B}/.config.tmp | |
echo 'CONFIG_INITRAMFS_SOURCE="initramfs.cpio.gz"' >> ${B}/.config.tmp | |
echo 'CONFIG_INITRAMFS_ROOT_UID=0' >> ${B}/.config.tmp | |
echo 'CONFIG_INITRAMFS_ROOT_GID=0' >> ${B}/.config.tmp | |
echo 'CONFIG_INITRAMFS_COMPRESSION_GZIP=y' >> ${B}/.config.tmp | |
mv ${B}/.config.tmp ${B}/.config | |
} | |
INITRAMFS_TASK = "do_configure" | |
INITRAMFS_IMAGE = "core-image-minimal" | |
PROVIDES = "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment