diff options
| author | Nathan Lee <me@nwlee.tech> | 2026-10-11 15:05:20 -0400 |
|---|---|---|
| committer | Nathan Lee <me@nwlee.tech> | 2026-10-11 15:05:20 -0400 |
| commit | a80617328ca0d83f3ab2031f5847abb31904b3f4 (patch) | |
| tree | 112a547d3e1b169c73c74b056892b15aabdf5523 /website-initramfs/Makefile | |
| parent | 0189cc9d771e5911b07fbf91ca18da3a338f8d30 (diff) | |
automated initramfs generation and deletion via makefile and lifecycle scripts
Diffstat (limited to 'website-initramfs/Makefile')
| -rw-r--r-- | website-initramfs/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/website-initramfs/Makefile b/website-initramfs/Makefile index 57d303b..b570f08 100644 --- a/website-initramfs/Makefile +++ b/website-initramfs/Makefile @@ -29,11 +29,16 @@ progs: $(OBJS) @echo " AS $<" $(CC) $(CFLAGS) -fuse-ld=lld $< -o $@ -.PHONY: progs mkinitrd all clean +.PHONY: progs mvprogs mkinitrd all clean +mvprogs: + @echo " MVPROGS" + ./mvprogs.sh progtab mkinitrd: @echo " MKINITRD" - find . -print0 | cpio --null -ov -H newc > initramfs.cpio + cat ziptab | cpio -ov -H newc > initramfs.cpio clean: @echo " CLEAN $(OBJS) initramfs.cpio" $(RM) -f $(OBJS) initramfs.cpio -all: progs mkinitrd + @echo " CLEAN ziptab" + xargs $(RM) -rf <ziptab +all: progs mvprogs mkinitrd |
