mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 14:31:02 +02:00
eclass/coreos-kernel: Remove architecture specifics
The bzImage format is architecture specific. The default x86_64 make target will generate a bzImage, so using the default make target should be sufficient for x86_64 builds. Fixes build errors like these: make: *** No rule to make target 'bzImage'. Signed-off-by: Geoff Levand <geoff@infradead.org>
This commit is contained in:
parent
c5a40440c2
commit
94c7ed9a88
@ -65,7 +65,7 @@ get_bootengine_lib() {
|
|||||||
# @FUNCTION: update_bootengine_cpio
|
# @FUNCTION: update_bootengine_cpio
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# Append files in the given directory to the bootengine cpio.
|
# Append files in the given directory to the bootengine cpio.
|
||||||
# Allows us to stick kernel modules into the initramfs built into bzImage.
|
# Allows us to stick kernel modules into the initramfs built into the image.
|
||||||
update_bootengine_cpio() {
|
update_bootengine_cpio() {
|
||||||
local extra_root="$1"
|
local extra_root="$1"
|
||||||
local cpio_path="${KBUILD_OUTPUT}/bootengine.cpio"
|
local cpio_path="${KBUILD_OUTPUT}/bootengine.cpio"
|
||||||
@ -153,7 +153,7 @@ coreos-kernel_src_compile() {
|
|||||||
update_bootengine_cpio "${bootengine_root}"
|
update_bootengine_cpio "${bootengine_root}"
|
||||||
|
|
||||||
# Build the final kernel image
|
# Build the final kernel image
|
||||||
kmake bzImage
|
kmake
|
||||||
}
|
}
|
||||||
|
|
||||||
coreos-kernel_src_install() {
|
coreos-kernel_src_install() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user