diff options
Diffstat (limited to 'src/app/i2cdetect')
-rw-r--r-- | src/app/i2cdetect/Kconfig | 2 | ||||
-rw-r--r-- | src/app/i2cdetect/Makefile.inc | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/app/i2cdetect/Kconfig b/src/app/i2cdetect/Kconfig new file mode 100644 index 0000000..d0415f0 --- /dev/null +++ b/src/app/i2cdetect/Kconfig @@ -0,0 +1,2 @@ +prompt "I2C Bus Scanner" +depends on meta_driver_i2c diff --git a/src/app/i2cdetect/Makefile.inc b/src/app/i2cdetect/Makefile.inc index 7620800..c76489c 100644 --- a/src/app/i2cdetect/Makefile.inc +++ b/src/app/i2cdetect/Makefile.inc @@ -1,3 +1,4 @@ -arch_drivers += ,i2c -drivers += ,lm75 -loop ?= 1 +ifdef app + override loop = 1 + override arch_drivers += ,i2c +endif |