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

This commit is contained in:
Hamish Coleman 2016-04-24 18:18:06 +10:00
parent c010737d6e
commit aebedc8623
2 changed files with 18 additions and 5 deletions

View File

@ -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,

7
README
View 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: