mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
1431bebd80
Integrate buildroot into devlib in order to ease building kernel and root filesystem images via 'generate-kernel-initrd.sh' helper script. As its name suggests, the script builds kernel image which also includes an initial RAM disk per default config files located under configs/<arch>/. Provide config files for buildroot and Linux kernel as well as a post-build.sh script which tweaks (e.g., allowing root login on SSH) target's root filesystem. doc/tools.rst talks about details of kernel and rootfs configuration. Signed-off-by: Metin Kaya <metin.kaya@arm.com>
17 lines
544 B
Plaintext
17 lines
544 B
Plaintext
BR2_x86_64=y
|
|
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
|
|
BR2_TARGET_GENERIC_ROOT_PASSWD="root"
|
|
BR2_SYSTEM_DHCP="eth0"
|
|
BR2_ROOTFS_POST_BUILD_SCRIPT="board/arm-power/post-build.sh"
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/arm-power/x86_64/linux.config"
|
|
BR2_LINUX_KERNEL_XZ=y
|
|
BR2_PACKAGE_OPENSSH=y
|
|
# BR2_PACKAGE_OPENSSH_SANDBOX is not set
|
|
BR2_PACKAGE_UTIL_LINUX=y
|
|
BR2_PACKAGE_UTIL_LINUX_BINARIES=y
|
|
BR2_TARGET_ROOTFS_CPIO_XZ=y
|
|
BR2_TARGET_ROOTFS_INITRAMFS=y
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|