To avoid having local changes on my repo, I opted to setup a private overlay, that inherits from amd64-generic, and added the changes you suggested. However the build fails when I add the kernel 3.18 and remove the kernel 3.14.
$ find -type f | xargs tail -n 100
==> ./make.conf <==
# Use a newer kernel
USE="${USE} -kernel-3_14 kernel-3_18"
==> ./metadata/layout.conf <==
masters = portage-stable chromiumos eclass-overlay amd64-generic
profile-formats = portage-2 profile-default-eapi
profile_eapi_when_unspecified = 5-progress
repo-name = amd64-generic-private
thin-manifests = true
use-manifests = true
==> ./profiles/base/parent <==
amd64-generic:base
==> ./toolchain.conf <==
# This is our main toolchain.
x86_64-cros-linux-gnu
# Since this is a paladin bot, we need this toolchain in order to test
# any packages that might need this (such as cros-workon chromeos-ec).
# If this board stops being a paladin bot, we can drop this.
arm-none-eabi
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/RV620_pfp.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/RS780_pfp.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/RV635_pfp.bin
chromeos-kernel-3_18-3.18-r352: *
chromeos-kernel-3_18-3.18-r352: * Searching all installed packages for file collisions...
chromeos-kernel-3_18-3.18-r352: *
chromeos-kernel-3_18-3.18-r352: * Press Ctrl-C to Stop
chromeos-kernel-3_18-3.18-r352: *
chromeos-kernel-3_18-3.18-r352: * sys-kernel/linux-firmware-0.0.1-r68:0::chromiumos
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/R100_cp.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/R200_cp.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/R300_cp.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/R420_cp.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/R600_me.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/R600_pfp.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/RS600_cp.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/RS690_cp.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/RS780_me.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/RV610_me.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/RV610_pfp.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/RV620_me.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/RV635_me.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/RV670_me.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/RV670_pfp.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/RV710_me.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/RV710_pfp.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/RV730_me.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/RV730_pfp.bin
chromeos-kernel-3_18-3.18-r352: * /build/amd64-generic/lib/firmware/radeon/RV770_pfp.bin
chromeos-kernel-3_18-3.18-r352: *
chromeos-kernel-3_18-3.18-r352: * Package 'sys-kernel/chromeos-kernel-3_18-3.18-r352' NOT merged due to
chromeos-kernel-3_18-3.18-r352: * file collisions. If necessary, refer to your elog messages for the
chromeos-kernel-3_18-3.18-r352: * whole content of the above message.
=== Complete: job chromeos-kernel-3_18-3.18-r352 (0m24.3s) ===
Failed sys-kernel/chromeos-kernel-3_18-3.18-r352 (in 0m24.3s). Your build has failed.
Pending 6/6, [Time 1m27.9s Load 1.42 0.65 0.47]
Packages failed:
sys-kernel/chromeos-kernel-3_18-3.18-r352
ERROR : Sat Aug 8 18:50:51 UTC 2015
ERROR : PGID PPID PID ELAPSED TIME %CPU COMMAND
ERROR : 10 6 10 1-21:52:33 00:00:00 0.0 -bash
ERROR : 16021 10 16021 02:34 00:00:00 0.0 \_ /bin/bash ./build_packages --board=amd64-generic --usepkg
ERROR : 16021 16021 17515 00:00 00:00:00 0.0 \_ /bin/bash ./build_packages --board=amd64-generic --usepkg
ERROR : 16021 17515 17516 00:00 00:00:00 0.0 \_ ps f -o pgid,ppid,pid,etime,cputime,%cpu,command
ERROR : Arguments of 16021: ./build_packages '--board=amd64-generic' '--usepkg'
ERROR : Backtrace: (most recent call is last)
ERROR : build_packages:254:main(), called: die_err_trap
ERROR :
ERROR : Command failed:
ERROR : Command '[[ $# -eq 0 ]]' exited with nonzero code: 1
(cr) ((37d5785...)) ronoaldo@chromeosbuild ~/trunk/src/scripts $
If I am understanding this correctly, the kernel 3_18 is shipping the same files as the chromiumos linux-firmware, but I don't think I can "remove" chromiumos right (like in USE="-chromiumos")? Any hints on how to fix this?