Skip to content

Commit 122070c

Browse files
committed
Updated build scripts
1 parent c60c361 commit 122070c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

make/functions.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ cquery = $(foreach d,$(call uniq, $3),$(if $($(d)_$(strip $1)),
4545

4646
# Find intersection between two sets
4747
# $(call intersection, list1, list2)
48-
intersection = $(foreach v,$1,$(if $(findstring $(v),$2),$(v)))
48+
intersection = $(sort $(foreach v,$1,$(if $(findstring $(v),$2),$(v))))
4949

5050
# Subtract the first set from second set
5151
# $(call subtraction, list1, list2)
52-
subtraction = $(foreach v,$2,$(if $(findstring $(v),$1),,$(v)))
52+
subtraction = $(sort $(foreach v,$2,$(if $(findstring $(v),$1),,$(v))))
5353

5454
# Check feature presence in list
5555
# $(call fcheck, features-to-check, all-feature-list, action-if-enabled, action-if-disabled)

0 commit comments

Comments
 (0)