Skip to content

Commit

Permalink
Test noarch filter
Browse files Browse the repository at this point in the history
  • Loading branch information
mreid-tt committed Oct 3, 2024
1 parent 711444b commit 3ea8067
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mk/spksrc.pre-check.mk
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ endif

# Check minimum DSM requirements of package
ifneq ($(REQUIRED_MIN_DSM),)
# Check if ARCH is noarch and TCVERSION is empty
ifeq ($(ARCH),noarch)
ifeq ($(TCVERSION),)
TCVERSION=3.1
endif
endif

ifeq (,$(findstring $(ARCH),$(SRM_ARCHS)))
ifneq ($(REQUIRED_MIN_DSM),$(firstword $(sort $(TCVERSION) $(REQUIRED_MIN_DSM))))
ifneq (,$(BUILD_UNSUPPORTED_FILE))
Expand Down

0 comments on commit 3ea8067

Please sign in to comment.