Add a self-documenting make target - hopefully simplify the readme file

update
Hamish Coleman 8 years ago
parent c010737d6e
commit aebedc8623

@ -5,7 +5,21 @@
#
all:
false
cat README
list_images:
$(info The following make targets are available to produce firmware images:)
$(info )
$(info $(basename $(wildcard *.d)))
$(info )
$(info The following make targets are available to produce FL2 files:)
$(info )
$(info $(foreach i,$(basename $(basename $(wildcard *.d))),$(basename $(wildcard $(i).*.FL2.slice))))
$(info )
@true
.PHONY: list_images
#
# Radare didnt seem to let me specify the direcrory to store the project file,

@ -9,11 +9,10 @@ Including:
Quick Start:
There are similar make target commands for:
x230
t430
t430s
There are similar make target commands for several different laptops,
this command will produce a list of them:
make list_images
To fetch the firmware from Lenovo, extract, decrypt and patch
it, ready for more patching:

Loading…
Cancel
Save