mirror of https://github.com/hak5/openwrt-owl.git
version.mk: explicitely filter "generic" subtarget for "%s" placeholder (#18710)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43905owl
parent
4685e4f273
commit
54602a82a4
|
@ -79,7 +79,7 @@ VERSION_SED:=$(SED) 's,%U,$(VERSION_REPO),g' \
|
||||||
-e 's,%R,$(REVISION),g' \
|
-e 's,%R,$(REVISION),g' \
|
||||||
-e 's,%T,$(BOARD),g' \
|
-e 's,%T,$(BOARD),g' \
|
||||||
-e 's,%S,$(BOARD)/$(if $(SUBTARGET),$(SUBTARGET),generic),g' \
|
-e 's,%S,$(BOARD)/$(if $(SUBTARGET),$(SUBTARGET),generic),g' \
|
||||||
-e 's,%s,$(BOARD)$(if $(SUBTARGET),.$(SUBTARGET)),g' \
|
-e 's,%s,$(BOARD)$(if $(filter-out generic,$(SUBTARGET)),.$(SUBTARGET)),g' \
|
||||||
-e 's,%t,$(VERSION_TAINTS),g' \
|
-e 's,%t,$(VERSION_TAINTS),g' \
|
||||||
-e 's,%M,$(VERSION_MANUFACTURER),g' \
|
-e 's,%M,$(VERSION_MANUFACTURER),g' \
|
||||||
-e 's,%P,$(VERSION_PRODUCT),g' \
|
-e 's,%P,$(VERSION_PRODUCT),g' \
|
||||||
|
|
Loading…
Reference in New Issue