diff --git a/drivers/ad7746/Makefile b/drivers/ad7746/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/ad7746/Makefile +++ b/drivers/ad7746/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/adcxx1c/Makefile b/drivers/adcxx1c/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/adcxx1c/Makefile +++ b/drivers/adcxx1c/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/ads101x/Makefile b/drivers/ads101x/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/ads101x/Makefile +++ b/drivers/ads101x/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/adxl345/Makefile b/drivers/adxl345/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/adxl345/Makefile +++ b/drivers/adxl345/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/apds99xx/Makefile b/drivers/apds99xx/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/apds99xx/Makefile +++ b/drivers/apds99xx/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/bme680/Makefile b/drivers/bme680/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/bme680/Makefile +++ b/drivers/bme680/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/bmp180/Makefile b/drivers/bmp180/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/bmp180/Makefile +++ b/drivers/bmp180/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/bmx055/Makefile b/drivers/bmx055/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/bmx055/Makefile +++ b/drivers/bmx055/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/bmx280/Makefile b/drivers/bmx280/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/bmx280/Makefile +++ b/drivers/bmx280/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/ccs811/Makefile b/drivers/ccs811/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/ccs811/Makefile +++ b/drivers/ccs811/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/dht/Makefile b/drivers/dht/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/dht/Makefile +++ b/drivers/dht/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/ds18/Makefile b/drivers/ds18/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/ds18/Makefile +++ b/drivers/ds18/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/ds75lx/Makefile b/drivers/ds75lx/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/ds75lx/Makefile +++ b/drivers/ds75lx/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/fxos8700/Makefile b/drivers/fxos8700/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/fxos8700/Makefile +++ b/drivers/fxos8700/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/gp2y10xx/Makefile b/drivers/gp2y10xx/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/gp2y10xx/Makefile +++ b/drivers/gp2y10xx/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/hdc1000/Makefile b/drivers/hdc1000/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/hdc1000/Makefile +++ b/drivers/hdc1000/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/hm330x/Makefile b/drivers/hm330x/Makefile index b51d9c28b9..7131c04432 100644 --- a/drivers/hm330x/Makefile +++ b/drivers/hm330x/Makefile @@ -1,7 +1 @@ -SRC := hm330x.c - -ifneq (,$(filter saul,$(USEMODULE))) - SRC += hm330x_saul.c -endif - -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/hmc5883l/Makefile b/drivers/hmc5883l/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/hmc5883l/Makefile +++ b/drivers/hmc5883l/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/hsc/Makefile b/drivers/hsc/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/hsc/Makefile +++ b/drivers/hsc/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/hts221/Makefile b/drivers/hts221/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/hts221/Makefile +++ b/drivers/hts221/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/ina2xx/Makefile b/drivers/ina2xx/Makefile index 661721f916..7131c04432 100644 --- a/drivers/ina2xx/Makefile +++ b/drivers/ina2xx/Makefile @@ -1,3 +1 @@ -MODULE = ina2xx - -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/io1_xplained/Makefile b/drivers/io1_xplained/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/io1_xplained/Makefile +++ b/drivers/io1_xplained/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/isl29020/Makefile b/drivers/isl29020/Makefile index a885f8360a..7131c04432 100644 --- a/drivers/isl29020/Makefile +++ b/drivers/isl29020/Makefile @@ -1,3 +1 @@ -MODULE = isl29020 - -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/itg320x/Makefile b/drivers/itg320x/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/itg320x/Makefile +++ b/drivers/itg320x/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/jc42/Makefile b/drivers/jc42/Makefile index d77abd36c6..7131c04432 100644 --- a/drivers/jc42/Makefile +++ b/drivers/jc42/Makefile @@ -1,2 +1 @@ -MODULE = jc42 -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/l3g4200d/Makefile b/drivers/l3g4200d/Makefile index 4eec8f16be..7131c04432 100644 --- a/drivers/l3g4200d/Makefile +++ b/drivers/l3g4200d/Makefile @@ -1,3 +1 @@ -MODULE = l3g4200d - -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/lis2dh12/Makefile b/drivers/lis2dh12/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/lis2dh12/Makefile +++ b/drivers/lis2dh12/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/lis3dh/Makefile b/drivers/lis3dh/Makefile index 753ec6b6d7..7131c04432 100644 --- a/drivers/lis3dh/Makefile +++ b/drivers/lis3dh/Makefile @@ -1,3 +1 @@ -MODULE = lis3dh - -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/lis3mdl/Makefile b/drivers/lis3mdl/Makefile index 06f10e94d8..7131c04432 100644 --- a/drivers/lis3mdl/Makefile +++ b/drivers/lis3mdl/Makefile @@ -1,3 +1 @@ -MODULE = lis3mdl - -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/lm75/Makefile b/drivers/lm75/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/lm75/Makefile +++ b/drivers/lm75/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/lpsxxx/Makefile b/drivers/lpsxxx/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/lpsxxx/Makefile +++ b/drivers/lpsxxx/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/lsm303dlhc/Makefile b/drivers/lsm303dlhc/Makefile index c3c0c2a641..7131c04432 100644 --- a/drivers/lsm303dlhc/Makefile +++ b/drivers/lsm303dlhc/Makefile @@ -1,3 +1 @@ -MODULE = lsm303dlhc - -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/lsm6dsl/Makefile b/drivers/lsm6dsl/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/lsm6dsl/Makefile +++ b/drivers/lsm6dsl/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/ltc4150/Makefile b/drivers/ltc4150/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/ltc4150/Makefile +++ b/drivers/ltc4150/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/mag3110/Makefile b/drivers/mag3110/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/mag3110/Makefile +++ b/drivers/mag3110/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/mhz19/Makefile b/drivers/mhz19/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/mhz19/Makefile +++ b/drivers/mhz19/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/mma7660/Makefile b/drivers/mma7660/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/mma7660/Makefile +++ b/drivers/mma7660/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/mma8x5x/Makefile b/drivers/mma8x5x/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/mma8x5x/Makefile +++ b/drivers/mma8x5x/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/mpl3115a2/Makefile b/drivers/mpl3115a2/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/mpl3115a2/Makefile +++ b/drivers/mpl3115a2/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/mpu9x50/Makefile b/drivers/mpu9x50/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/mpu9x50/Makefile +++ b/drivers/mpu9x50/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/opt3001/Makefile b/drivers/opt3001/Makefile index a5773c5f38..7131c04432 100644 --- a/drivers/opt3001/Makefile +++ b/drivers/opt3001/Makefile @@ -1,3 +1 @@ -MODULE = opt3001 - -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/pca9685/Makefile b/drivers/pca9685/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/pca9685/Makefile +++ b/drivers/pca9685/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/pcf857x/Makefile b/drivers/pcf857x/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/pcf857x/Makefile +++ b/drivers/pcf857x/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/ph_oem/Makefile b/drivers/ph_oem/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/ph_oem/Makefile +++ b/drivers/ph_oem/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/pir/Makefile b/drivers/pir/Makefile index b2984a2c6b..7131c04432 100644 --- a/drivers/pir/Makefile +++ b/drivers/pir/Makefile @@ -1,3 +1 @@ -MODULE = pir - -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/qmc5883l/Makefile b/drivers/qmc5883l/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/qmc5883l/Makefile +++ b/drivers/qmc5883l/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/scd30/Makefile b/drivers/scd30/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/scd30/Makefile +++ b/drivers/scd30/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/sdp3x/Makefile b/drivers/sdp3x/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/sdp3x/Makefile +++ b/drivers/sdp3x/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/sds011/Makefile b/drivers/sds011/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/sds011/Makefile +++ b/drivers/sds011/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/seesaw_soil/Makefile b/drivers/seesaw_soil/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/seesaw_soil/Makefile +++ b/drivers/seesaw_soil/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/sgp30/Makefile b/drivers/sgp30/Makefile index fc1d0153b0..7131c04432 100644 --- a/drivers/sgp30/Makefile +++ b/drivers/sgp30/Makefile @@ -1,7 +1 @@ -SRC := sgp30.c - -ifneq (,$(filter saul,$(USEMODULE))) - SRC += sgp30_saul.c -endif - -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/sht1x/Makefile b/drivers/sht1x/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/sht1x/Makefile +++ b/drivers/sht1x/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/sht2x/Makefile b/drivers/sht2x/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/sht2x/Makefile +++ b/drivers/sht2x/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/sht3x/Makefile b/drivers/sht3x/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/sht3x/Makefile +++ b/drivers/sht3x/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/shtc1/Makefile b/drivers/shtc1/Makefile index 2ff6b1f8f1..7131c04432 100644 --- a/drivers/shtc1/Makefile +++ b/drivers/shtc1/Makefile @@ -1,3 +1 @@ -MODULE = shtc1 - -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/si1133/Makefile b/drivers/si1133/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/si1133/Makefile +++ b/drivers/si1133/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/si114x/Makefile b/drivers/si114x/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/si114x/Makefile +++ b/drivers/si114x/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/si70xx/Makefile b/drivers/si70xx/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/si70xx/Makefile +++ b/drivers/si70xx/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/sm_pwm_01c/Makefile b/drivers/sm_pwm_01c/Makefile index e10aefd443..7131c04432 100644 --- a/drivers/sm_pwm_01c/Makefile +++ b/drivers/sm_pwm_01c/Makefile @@ -1,7 +1 @@ -SRC := sm_pwm_01c.c - -ifneq (,$(filter saul,$(USEMODULE))) - SRC += sm_pwm_01c_saul.c -endif - -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/sps30/Makefile b/drivers/sps30/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/sps30/Makefile +++ b/drivers/sps30/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/tcs37727/Makefile b/drivers/tcs37727/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/tcs37727/Makefile +++ b/drivers/tcs37727/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/tmp00x/Makefile b/drivers/tmp00x/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/tmp00x/Makefile +++ b/drivers/tmp00x/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/tsl2561/Makefile b/drivers/tsl2561/Makefile index 9457af6bc6..7131c04432 100644 --- a/drivers/tsl2561/Makefile +++ b/drivers/tsl2561/Makefile @@ -1,3 +1 @@ -MODULE = tsl2561 - -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/tsl4531x/Makefile b/drivers/tsl4531x/Makefile index 2d6d86e78e..7131c04432 100644 --- a/drivers/tsl4531x/Makefile +++ b/drivers/tsl4531x/Makefile @@ -1,3 +1 @@ -MODULE = tsl4531x - -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/vcnl40x0/Makefile b/drivers/vcnl40x0/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/vcnl40x0/Makefile +++ b/drivers/vcnl40x0/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk diff --git a/drivers/veml6070/Makefile b/drivers/veml6070/Makefile index 48422e909a..7131c04432 100644 --- a/drivers/veml6070/Makefile +++ b/drivers/veml6070/Makefile @@ -1 +1 @@ -include $(RIOTBASE)/Makefile.base +include $(RIOTMAKE)/driver_with_saul.mk