Commit 68d468d 1 parent 2ccde9f commit 68d468d Copy full SHA for 68d468d
File tree 1 file changed +9
-8
lines changed
1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -104,17 +104,18 @@ endif
104
104
@echo distributor=\"$(DISTRIBUTOR)\" >> $@
105
105
@echo distributor_url=\"$(DISTRIBUTOR_URL)\" >> $@
106
106
107
+ ifneq ($(strip $(OS_MIN_VER ) ) ,)
108
+ @echo os_min_ver=\"$(OS_MIN_VER)\" >> $@
109
+ else
110
+ @echo os_min_ver=\"$(TC_OS_MIN_VER)\" >> $@
111
+ endif
112
+ ifeq ($(shell expr "$(TC_OS_MIN_VER ) " \<= 6.1) ,1)
107
113
ifneq ($(strip $(FIRMWARE ) ) ,)
108
114
@echo firmware=\"$(FIRMWARE)\" >> $@
109
- else ifneq ($(strip $(OS_MIN_VER)),)
110
- @echo os_min_ver=\"$(OS_MIN_VER)\" >> $@
115
+ else
116
+ @echo firmware=\"$(TC_OS_MIN_VER)\" >> $@
117
+ endif
111
118
endif
112
- @if (( $(echo $${TC_OS_MIN_VER}' <= 6.1' | bc -l) )); then
113
- @echo os_min_ver=\"$(TC_OS_MIN_VER)\" >> $@ ; \
114
- else ; \
115
- @echo firmware=\"$(TC_OS_MIN_VER)\" >> $@ ; \
116
- @echo os_min_ver=\"$(TC_OS_MIN_VER)\" >> $@ ; \
117
- fi
118
119
ifneq ($(strip $(OS_MAX_VER ) ) ,)
119
120
@echo os_max_ver=\"$(OS_MAX_VER)\" >> $@
120
121
endif
You can’t perform that action at this time.
0 commit comments