]> sigrok.org Git - libsigrok.git/commit
resource: add support for SIGROK_FIRMWARE_PATH env variable
authorGerhard Sittig <redacted>
Sun, 21 Aug 2022 11:36:29 +0000 (13:36 +0200)
committerGerhard Sittig <redacted>
Sun, 21 Aug 2022 15:45:11 +0000 (17:45 +0200)
commit4a57cc3582af744bc919ac4fb8f9f6c17250c16a
tree5303d6e9a4c93b4ec5c888fa4c06f4f8ecb0e5c1
parentda5286bfa5d2dad1e24b9c9442c9875332d84e64
resource: add support for SIGROK_FIRMWARE_PATH env variable

The optional SIGROK_FIRMWARE_DIR environment variable accepts a single
directory specification. The SIGROK_FIRMWARE_PATH variable accepts a
list of directories to search firmware images. The list separator is
platform dependent (colon or semicolon). Empty items are explicitly
ignored. Both variables get evaluated. Behaviour remains backwards
compatible, just gets extended for increased usability.
src/resource.c