diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2020-07-19 07:39:22 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2020-07-19 07:39:22 -0400 |
commit | 0d8f101483cbc72261514806da2df7c0bfad88f7 (patch) | |
tree | f56cef930ca90175a2725922258ea9e868013328 /Makefile | |
parent | 80d98ad93aaf8b02bce80dbbac81b2beed518d3a (diff) | |
download | minitramfs-0d8f101483cbc72261514806da2df7c0bfad88f7.tar.xz minitramfs-0d8f101483cbc72261514806da2df7c0bfad88f7.zip |
add load-random-seed
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,10 +1,12 @@ +CFLAGS += -Wall -Wextra + all: initramfs.img -initramfs.img: gen_init_cpio dropbear_ed25519_host_key modules.sh +initramfs.img: gen_init_cpio load-random-seed dropbear_ed25519_host_key modules.sh ./make -gen_init_cpio: gen_init_cpio.c - $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) gen_init_cpio.c -o $@ +%: %.c + $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $< -o $@ dropbear_ed25519_host_key: dropbearkey -t ed25519 -f $@ @@ -20,7 +22,7 @@ install: initramfs.img mv /boot/initramfs.img.new /boot/initramfs.img clean: - rm -f initramfs.img initramfs.d gen_init_cpio + rm -f initramfs.img initramfs.d gen_init_cpio load-random-seed -include initramfs.d |