[PATCH] arc: Removed local initramfs source file from axs101 configuration.
Alexey Brodkin
Alexey.Brodkin at synopsys.com
Thu Jan 7 15:20:22 PST 2016
Hi Carlos,
On Mon, 2016-01-04 at 14:55 +0000, palminha at synopsys.com wrote:
> From: Carlos Palminha <palminha at synopsys.com>
>
> Cannot compile kernel with INITRAMFS SOURCE option.
> Please move this option to a buildroot patch.
First of all if your problem is only related to Buildroot then
there's not much sense in adding linux-snps-arc at lists.infradead.org
which is used for pure Linux kernel discussions.
Then even in case of Buildroot CONFIG_INITRAMFS_SOURCE could be a problem
only if you don't set Buildroot's BR2_TARGET_ROOTFS_INITRAMFS=y, see
how it is done in snps_axs101_defconfig here
https://git.busybox.net/buildroot/tree/configs/snps_axs101_defconfig#n7
What happens if BR2_TARGET_ROOTFS_INITRAMFS=y then existing in kernel's
defconfig CONFIG_INITRAMFS_SOURCE gets overridden with new value, see
https://git.busybox.net/buildroot/tree/linux/linux.mk#n217
Now if you really want to not use built-in kernel initramfs then simplest
thing to do is to run "make linux-menuconfig" from your Buildroot's folder
and disable or set with nothing CONFIG_INITRAMFS_SOURCE.
-Alexey
More information about the linux-snps-arc
mailing list