From 9d4241c6b0122b354f0d1ae643ed7912347db942 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Wed, 11 Nov 2020 08:09:06 -0500 Subject: dynamically generate cpio_list deps --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 746287f..1db17f7 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ KERNVER ?= $(lastword $(subst /,$(space),$(wildcard /lib/modules/*/))) all: initramfs.img -initramfs.img: gen_init_cpio load-random-seed dropbear_ed25519_host_key modules.dep +initramfs.img: gen_init_cpio modules.dep $(shell awk '$$1 == "file" { print $$3 }' cpio_list.txt) KERNVER=$(KERNVER) COMPRESSOR="zstd -19 -c -T0" ./make %: %.c -- cgit v1.2.3-70-g09d2