silence firmware warnings
authorStricted <info@stricted.net>
Thu, 11 May 2017 08:00:21 +0000 (10:00 +0200)
committerStricted <info@stricted.net>
Thu, 11 Oct 2018 16:03:06 +0000 (18:03 +0200)
firmware/Makefile

index 025716f445dce0e459beca92df30cae69222b990..6c21571561fb41c9a00d3bc3d99eec908e715298 100644 (file)
@@ -138,7 +138,7 @@ fw-shipped-$(CONFIG_VIDEO_CPIA2) += cpia2/stv0672_vp4.bin
 fw-shipped-$(CONFIG_YAM) += yam/1200.bin yam/9600.bin
 
 TSPFIRMWARE_DIRECTORY = firmware/tsp_synaptics
-ifeq ($(shell test -d $(TSPFIRMWARE_DIRECTORY) && echo yes),yes)
+ifeq ($(shell test -d $(srctree)/$(TSPFIRMWARE_DIRECTORY) && echo yes),yes)
 fw-shipped-$(CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI) += tsp_synaptics/synaptics_b0_h.fw \
        tsp_synaptics/synaptics_b0_fac.fw
 fw-shipped-$(CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_DSX) += \
@@ -148,7 +148,7 @@ $(warning '$(TSPFIRMWARE_DIRECTORY)' directory dose not exist)
 endif
 
 TSPFIRMWARE_DIRECTORY = firmware/tsp_atmel
-ifeq ($(shell test -d $(TSPFIRMWARE_DIRECTORY) && echo yes),yes)
+ifeq ($(shell test -d $(srctree)/$(TSPFIRMWARE_DIRECTORY) && echo yes),yes)
 fw-shipped-$(CONFIG_TOUCHSCREEN_ATMEL_MXT2405) += tsp_atmel/mxt2405_gvlte_IL.fw \
                                                tsp_atmel/mxt2405_gvlte_OF.fw \
                                                tsp_atmel/mxt2405_gvlte_100ch.fw \
@@ -159,7 +159,7 @@ $(warning '$(TSPFIRMWARE_DIRECTORY)' directory dose not exist)
 endif
 
 TSPFIRMWARE_DIRECTORY = firmware/tsp_stm
-ifeq ($(shell test -d $(TSPFIRMWARE_DIRECTORY) && echo yes),yes)
+ifeq ($(shell test -d $(srctree)/$(TSPFIRMWARE_DIRECTORY) && echo yes),yes)
 fw-shipped-$(CONFIG_TOUCHSCREEN_FTS) += tsp_stm/stm_s.fw tsp_stm/stm_t.fw tsp_stm/stm_tb.fw tsp_stm/stm_tb_integ.fw
 else
 $(warning '$(TSPFIRMWARE_DIRECTORY)' directory dose not exist)