/
mksignkernels.mk
59 lines (58 loc) · 1.62 KB
/
mksignkernels.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Settings file for mksignkernels.
#
# --- Template for a custom kernel ---
#
# CUSTOMKERNELS += kernel-custom
# kernel-custom :
# @$(SELF) $(ESP)/vmlinuz-custom.efi \
# EFISTUB="$(EFISTUB)" \
# OSREL="$(OSREL)" \
# KEY="$(KEY)" \
# CERT="$(CERT)" \
# KERNEL="$(BOOT)/mykernel" \
# INITRAMFS="$(MICROCODE) $(BOOT)/myinitramfs.img" \
# CMDLINE="custom_cmdline"
#
# --- Small changes ---
#
# If your custom kernel conforms to the default kernel-% target and
# you only want to change a few settings, e.g. the cmdline or used
# kernel (useful for Arch Linux' -fallback targets), use:
#
# CUSTOMKERNELS += kernel-linux-fallback
# kernel-linux-fallback :
# @$(SELF) $(ESP)/vmlinuz-linux-fallback.efi \
# KERNEL="$(BOOT)/vmlinuz-linux"
#
# --- Override default template ---
#
# To override the default template, you need to overwrite the kernel-%
# target or set FOUNDKERNELS to an empty value and only use CUSTOMKERNELS.
# Use this as a template:
#
# kernel-% :
# @$(SELF) $(OUTPUT) \
# EFISTUB="$(EFISTUB)" \
# OSREL="$(OSREL)" \
# KEY="$(KEY)" \
# CERT="$(CERT)" \
# KERNEL="$(KERNEL)" \
# INITRAMFS="$(INITRAMFS)" \
# CMDLINE="$(CMDLINE)"
#
# --- Global settings ---
#
# You can also change any of the global settings for all targets here:
#
# OSREL = /etc/os-release
# EFISTUB = /usr/lib/systemd/boot/efi/linuxx64.efi.stub
# PKI = /etc/efikeys
# KEY = $(PKI)/DatabaseKey.key
# CERT = $(PKI)/DatabaseKey.crt
# BOOT = /boot
# ESP = $(BOOT)/efi
# MICROCODE = $(BOOT)/intel-ucode.img
# CMDLINE = quiet
# HOOKTARGETS = boot/vmlinuz-(.*)
#
# -------- custom targets --------