[source] kmod-bmp085: add dependency on !LINUX_3_18 !LINUX_4_1

LEDE Commits lede-commits at lists.infradead.org
Tue Jun 28 18:11:15 PDT 2016


lynxis pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=19aae09f5ff35e53343c2b4b7898c38ab22a3774

commit 19aae09f5ff35e53343c2b4b7898c38ab22a3774
Author: Alexander Couzens <lynxis at fe80.eu>
AuthorDate: Wed Jun 29 02:40:34 2016 +0200

    kmod-bmp085: add dependency on !LINUX_3_18 !LINUX_4_1
    
    93d5629a introduced a build failure on older platforms (<4.4)
    because bmp085 is a boolean and not a tristate.
    
    Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
---
 package/kernel/linux/modules/other.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index bc7fb7c..55fd455 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -995,7 +995,7 @@ $(eval $(call KernelPackage,echo))
 define KernelPackage/bmp085
   SUBMENU:=$(OTHER_MENU)
   TITLE:=BMP085/BMP18x pressure sensor
-  DEPENDS:= +kmod-regmap
+  DEPENDS:= +kmod-regmap @!LINUX_3_18 @!LINUX_4_1
   KCONFIG:= CONFIG_BMP085
   FILES:= $(LINUX_DIR)/drivers/misc/bmp085.ko
 endef



More information about the lede-commits mailing list