aboutsummaryrefslogtreecommitdiff
path: root/miscutils/i2c_tools.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2020-08-04 08:24:19 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2020-08-13 17:12:56 +0200
commit5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d (patch)
treeaeb911b86b6dab262429a8a9fa76bcdf697b02a3 /miscutils/i2c_tools.c
parent9914d8b861a0edb42051bd68a37bceb0562daa70 (diff)
downloadbusybox-w32-5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d.tar.gz
busybox-w32-5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d.tar.bz2
busybox-w32-5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d.zip
build system: drop PLATFORM_LINUX
PLATFORM_LINUX is a hidden configuration option which is disabled by default and enabled at over a hundred locations for features that are deemed to be Linux specific. The only effect of PLATFORM_LINUX is to control compilation of libbb/match_fstype.c. This file is only needed by mount and umount. Remove all references to PLATFORM_LINUX and compile match_fstype.c if mount or umount is enabled. Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/i2c_tools.c')
-rw-r--r--miscutils/i2c_tools.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/miscutils/i2c_tools.c b/miscutils/i2c_tools.c
index 82a559f74..cc8b99a92 100644
--- a/miscutils/i2c_tools.c
+++ b/miscutils/i2c_tools.c
@@ -11,35 +11,30 @@
11//config:config I2CGET 11//config:config I2CGET
12//config: bool "i2cget (5.5 kb)" 12//config: bool "i2cget (5.5 kb)"
13//config: default y 13//config: default y
14//config: select PLATFORM_LINUX
15//config: help 14//config: help
16//config: Read from I2C/SMBus chip registers. 15//config: Read from I2C/SMBus chip registers.
17//config: 16//config:
18//config:config I2CSET 17//config:config I2CSET
19//config: bool "i2cset (6.7 kb)" 18//config: bool "i2cset (6.7 kb)"
20//config: default y 19//config: default y
21//config: select PLATFORM_LINUX
22//config: help 20//config: help
23//config: Set I2C registers. 21//config: Set I2C registers.
24//config: 22//config:
25//config:config I2CDUMP 23//config:config I2CDUMP
26//config: bool "i2cdump (7.1 kb)" 24//config: bool "i2cdump (7.1 kb)"
27//config: default y 25//config: default y
28//config: select PLATFORM_LINUX
29//config: help 26//config: help
30//config: Examine I2C registers. 27//config: Examine I2C registers.
31//config: 28//config:
32//config:config I2CDETECT 29//config:config I2CDETECT
33//config: bool "i2cdetect (7.1 kb)" 30//config: bool "i2cdetect (7.1 kb)"
34//config: default y 31//config: default y
35//config: select PLATFORM_LINUX
36//config: help 32//config: help
37//config: Detect I2C chips. 33//config: Detect I2C chips.
38//config: 34//config:
39//config:config I2CTRANSFER 35//config:config I2CTRANSFER
40//config: bool "i2ctransfer (4.0 kb)" 36//config: bool "i2ctransfer (4.0 kb)"
41//config: default y 37//config: default y
42//config: select PLATFORM_LINUX
43//config: help 38//config: help
44//config: Send user-defined I2C messages in one transfer. 39//config: Send user-defined I2C messages in one transfer.
45//config: 40//config: