We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 365c311 commit dc26441Copy full SHA for dc26441
1 file changed
Makefile
@@ -88,7 +88,7 @@ endif
88
#####################################################################
89
# Generate a stand-alone kernel patch
90
91
-TP_VER := ${shell sed -ne 's/^\#define TP_VERSION \"\(.*\)\"/\1/gp' tp_smapi.c}
+TP_VER := 0.41
92
ORG := a
93
NEW := b
94
PATCH := tp_smapi-$(TP_VER)-for-$(KVER).patch
@@ -144,6 +144,7 @@ patch: $(KSRC)
144
set-version:
145
perl -i -pe 's/^(tp_smapi version ).*/$${1}$(VER)/' README
146
perl -i -pe 's/^(#define TP_VERSION ").*/$${1}$(VER)"/' thinkpad_ec.c tp_smapi.c
147
+ perl -i -pe 's/^(TP_VER := ).*/$${1}$(VER)/' Makefile
148
149
TGZ=../tp_smapi-$(VER).tgz
150
create-tgz:
0 commit comments