hc
2024-03-26 e0728245c89800c2038c23308f2d88969d5b41c8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
config BR2_PACKAGE_APCUPSD
   bool "apcupsd"
   depends on BR2_INSTALL_LIBSTDCPP
   depends on BR2_TOOLCHAIN_HAS_THREADS
   depends on BR2_USE_MMU # fork()
   help
     A daemon for controlling APC UPSes.
 
     http://www.apcupsd.org/
 
if BR2_PACKAGE_APCUPSD
 
config BR2_PACKAGE_APCUPSD_APCSMART
   bool "apcsmart"
   help
     Compile APC SmartUPS serial driver
 
config BR2_PACKAGE_APCUPSD_DUMB
   bool "dumb"
   help
     Compile dumb UPS driver
 
config BR2_PACKAGE_APCUPSD_MODBUS
   bool "modbus"
   help
     Compile MODBUS driver code
 
config BR2_PACKAGE_APCUPSD_MODBUS_USB
   bool "modbus usb"
   depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
   depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
   select BR2_PACKAGE_LIBUSB
   select BR2_PACKAGE_LIBUSB_COMPAT
   select BR2_PACKAGE_APCUPSD_MODBUS
   help
     Compile MODBUS/USB driver code
 
comment "modbus usb support needs a toolchain w/ threads, gcc >= 4.9"
   depends on !BR2_TOOLCHAIN_HAS_THREADS || \
       !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
 
config BR2_PACKAGE_APCUPSD_NET
   bool "net"
   help
     Compile networking driver for slaves
 
config BR2_PACKAGE_APCUPSD_PCNET
   bool "pcnet"
   help
     Compile PCNET driver code
 
config BR2_PACKAGE_APCUPSD_SNMP
   bool "snmp"
   help
     Compile SNMP driver
 
config BR2_PACKAGE_APCUPSD_USB
   bool "usb"
   depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
   depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
   select BR2_PACKAGE_LIBUSB
   select BR2_PACKAGE_LIBUSB_COMPAT
   help
     Compile USB UPS code
 
comment "usb support needs a toolchain w/ threads, gcc >= 4.9"
   depends on !BR2_TOOLCHAIN_HAS_THREADS || \
       !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
 
endif
 
comment "apcupsd needs a toolchain w/ C++, threads"
   depends on BR2_USE_MMU
   depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS