mirror of
https://github.com/YusufOzmen01/quest-kexec.git
synced 2026-10-26 19:37:39 +00:00
21 lines
478 B
Makefile
21 lines
478 B
Makefile
# Convenience targets. See README.md for the full procedure.
|
|
# make module KDIR=... [LOCALVERSION=...]
|
|
# make initramfs
|
|
OUT ?= out
|
|
|
|
.PHONY: all module initramfs clean
|
|
all: module initramfs
|
|
|
|
module:
|
|
$(MAKE) -C module KDIR=$(KDIR) LOCALVERSION=$(LOCALVERSION)
|
|
|
|
$(OUT)/busybox:
|
|
initramfs/busybox.sh $@
|
|
|
|
initramfs: $(OUT)/busybox
|
|
python3 initramfs/build.py --busybox $(OUT)/busybox --output $(OUT)/initramfs.gz
|
|
|
|
clean:
|
|
-$(MAKE) -C module clean KDIR=$(KDIR)
|
|
rm -rf $(OUT)
|