2018-09-07 18:56:22 +02:00
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
@echo "Enter one of:"
|
|
|
|
@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 images, this is ran when make image is ran"
|
|
|
|
@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"
|
|
|
|
|
|
|
|
.PHONY: clean_kernel
|
|
|
|
clean_kernel:
|
|
|
|
rm -rf build/linux-4.*
|
|
|
|
|
|
|
|
.PHONY: clean_ath
|
|
|
|
clean_ath:
|
|
|
|
rm -rf build/open-ath9k-htc-firmware
|
2018-09-07 01:55:46 +02:00
|
|
|
|
2018-09-07 18:56:22 +02:00
|
|
|
.PHONY: clean_img
|
|
|
|
clean_img:
|
|
|
|
rm PrawnOS-*-c201-libre-*GB.img
|
|
|
|
|
|
|
|
.PHONY: clean_all
|
|
|
|
clean_all:
|
|
|
|
make clean_kernel
|
|
|
|
make clean_ath
|
|
|
|
make clean_img
|
2018-09-07 01:55:46 +02:00
|
|
|
|
|
|
|
|
2018-09-07 18:56:22 +02:00
|
|
|
.PHONY: kernel
|
2018-09-07 01:55:46 +02:00
|
|
|
kernel:
|
|
|
|
scripts/buildKernel.sh
|
|
|
|
|
2018-09-07 18:56:22 +02:00
|
|
|
.PHONY: filesystem
|
2018-09-07 01:55:46 +02:00
|
|
|
filesystem:
|
2018-09-07 18:56:22 +02:00
|
|
|
make clean_img
|
2018-09-07 01:55:46 +02:00
|
|
|
scripts/buildDebianFs.sh
|
|
|
|
|
2018-09-07 18:56:22 +02:00
|
|
|
.PHONY: kernel_inject
|
|
|
|
kernel_inject: #Targets an already built .img and swaps the old kernel with the newly compiled kernel
|
2018-09-07 01:55:46 +02:00
|
|
|
scripts/buildNewKernelIntoFS.sh
|
|
|
|
|
2018-09-07 18:56:22 +02:00
|
|
|
.PHONY: image
|
2018-09-07 01:55:46 +02:00
|
|
|
image:
|
2018-09-07 18:56:22 +02:00
|
|
|
make clean_img
|
2018-09-07 01:55:46 +02:00
|
|
|
scripts/buildKernel.sh
|
|
|
|
scripts/buildDebianFs.sh
|
|
|
|
|
2018-09-07 18:56:22 +02:00
|
|
|
.PHONY: live_image
|
2018-09-07 01:55:46 +02:00
|
|
|
live_image:
|
|
|
|
echo "TODO"
|
|
|
|
|
2018-09-07 18:56:22 +02:00
|
|
|
.PHONY: kernel_config
|
2018-09-07 01:55:46 +02:00
|
|
|
kernel_config:
|
|
|
|
scripts/crossmenuconfig.sh
|