Kaynağa Gözat

build: fix getting ABI version for binary packages from the same source package

We can't rely on the .version file being created yet, so use package variables
to get it

Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau 4 yıl önce
ebeveyn
işleme
7d6a636918
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      include/feeds.mk

+ 1 - 1
include/feeds.mk

@@ -43,5 +43,5 @@ endef
 
 # 1: package name
 define GetABISuffix
-$(if $(filter-out kmod-%,$(1)),$(foreach v,$(wildcard $(STAGING_DIR)/pkginfo/$(1).version),$(shell cat $(v))))
+$(if $(filter-out kmod-%,$(1)),$(if $(ABIV_$(1)),$(ABIV_$(1)),$(foreach v,$(wildcard $(STAGING_DIR)/pkginfo/$(1).version),$(shell cat $(v)))))
 endef