Skip to content

Commit

Permalink
spk.mk: Limit os_max_ver to point release updates for kernel spk (Syn…
Browse files Browse the repository at this point in the history
  • Loading branch information
th0ma7 authored Apr 24, 2021
1 parent 86e4642 commit 93977df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mk/spksrc.spk.mk
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ endif
endif
ifneq ($(strip $(OS_MAX_VER)),)
@echo os_max_ver=\"$(OS_MAX_VER)\" >> $@
# If require kernel modules then limit
# 'os_max_ver' to point releases only
else ifeq ($(strip $(REQUIRE_KERNEL)),1)
@echo os_max_ver=\"$(word 1,$(subst ., ,$(TC_VERS))).$(word 2,$(subst ., ,$(TC_VERS)))-$$(expr $(TC_BUILD) + 10)\" >> $@
endif
ifneq ($(strip $(BETA)),)
@echo beta=\"yes\" >> $@
Expand Down

0 comments on commit 93977df

Please # to comment.