mirror of
https://github.com/hamishcoleman/thinkpad-ec
synced 2024-11-04 06:00:12 +00:00
Add a self-documenting make target - hopefully simplify the readme file
This commit is contained in:
parent
c010737d6e
commit
aebedc8623
16
Makefile
16
Makefile
@ -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
7
README
@ -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…
Reference in New Issue
Block a user