Added initramfs cleanup
This commit is contained in:
parent
11bde90289
commit
985c51e919
13
makefile
13
makefile
@ -38,7 +38,8 @@ clean:
|
||||
@echo " clean_kernel - which deletes the untar'd kernel folder from build"
|
||||
@echo " clean_ath - which deletes the untar'd ath9k driver folder from build"
|
||||
@echo " clean_img - which deletes the built PrawnOS image, this is ran when make image is ran"
|
||||
@echo " clean_fs - which deletes the built PrawnOS base image"
|
||||
@echo " clean_basefs - which deletes the built PrawnOS base image"
|
||||
@echo " clean_initramfs - which deletes the built PrawnOS initramfs image that gets injected into the kernel"
|
||||
@echo " clean_all - which does all of the above"
|
||||
@echo " in most cases none of these need to be used manually as most cleanup steps are handled automatically"
|
||||
|
||||
@ -54,16 +55,21 @@ clean_ath:
|
||||
clean_img:
|
||||
rm -f $(OUTNAME)
|
||||
|
||||
.PHONY: clean_fs
|
||||
clean_fs:
|
||||
.PHONY: clean_basefs
|
||||
clean_basefs:
|
||||
rm -r $(BASE)
|
||||
|
||||
.PHONY: clean_initramfs
|
||||
clean_initramfs:
|
||||
rm -r build/PrawnOS-initramfs.cpio.gz
|
||||
|
||||
.PHONY: clean_all
|
||||
clean_all:
|
||||
make clean_kernel
|
||||
make clean_ath
|
||||
make clean_img
|
||||
make clean_fs
|
||||
make clean_initramfs
|
||||
|
||||
|
||||
.PHONY: kernel
|
||||
@ -99,7 +105,6 @@ image:
|
||||
cp $(BASE) $(OUTNAME)
|
||||
make kernel_inject
|
||||
|
||||
|
||||
.PHONY: live_image
|
||||
live_image:
|
||||
echo "TODO"
|
||||
|
Loading…
Reference in New Issue
Block a user