Hi Angelo, On 13/10/17 08:42, Angelo Dureghello wrote:
Add support for Sysam stmark2 board, an open hardware embedded Linux board, see http://sysam.it/cff_stmark2.html for any info. Signed-off-by: Angelo Dureghello <angelo@xxxxxxxx> ---
[snip]
diff --git a/arch/m68k/configs/stmark2_defconfig b/arch/m68k/configs/stmark2_defconfig new file mode 100644 index 000000000000..55e55dbc2fb6 --- /dev/null +++ b/arch/m68k/configs/stmark2_defconfig @@ -0,0 +1,92 @@ +CONFIG_LOCALVERSION="stmark2-001" +CONFIG_DEFAULT_HOSTNAME="stmark2" +CONFIG_SYSVIPC=y +# CONFIG_FHANDLE is not set +CONFIG_LOG_BUF_SHIFT=14 +CONFIG_NAMESPACES=y +CONFIG_BLK_DEV_INITRD=y +CONFIG_INITRAMFS_SOURCE="../uClinux-dist/romfs"
This causes a stand alone kernel defconfig build of stmark2 to fail with: ... CC init/calibrate.o CC init/init_task.o AR init/built-in.o HOSTCC usr/gen_init_cpio ./scripts/gen_initramfs_list.sh: Cannot open '../uClinux-dist/romfs' make[1]: *** [usr/initramfs_data.cpio.gz] Error 1 make: *** [usr] Error 2 Obviously in a stand alone build you cannot rely on any directory paths outside of the kernel tree. The simple solution is just to remove this CONFIG_INITRAMFS_SOURCE line - and that results in complete build. Of course it won't work on your target as expected though. Other ColdFire defconfigs don't use an init ramfs, instead using a local ram based MTD partition. Do you want to come up with a patch to fix this? Otherwise I will create a patch that just removes that one line. Regards Greg -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html