diff options
Diffstat (limited to 'include/feeds.mk')
-rw-r--r-- | include/feeds.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/feeds.mk b/include/feeds.mk index a908a5720a..4d85a47599 100644 --- a/include/feeds.mk +++ b/include/feeds.mk @@ -41,3 +41,8 @@ define FeedSourcesAppend echo '$(if $(filter m,$(CONFIG_FEED_$(feed))),# )src/gz %d_$(feed) %U/packages/%A/$(feed)';)))) \ ) >> $(1) endef + +# 1: package name +define GetABISuffix +$(if $(filter-out kmod-%,$(1)),$(if $(Package/$(1)/abiversion),$(if $(filter %0 %1 %2 %3 %4 %5 %6 %7 %8 %9,$(1)),-)$(Package/$(1)/abiversion))) +endef |