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