summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud.urkud@gmail.com>2010-04-16 09:38:32 +0400
committerKay Sievers <kay.sievers@vrfy.org>2010-04-20 07:02:58 +0200
commit4101ce14b3f6646f3468f6a489d87d057aab7163 (patch)
treea965db872ee17c1b1bc62239789bd093ac97e19b /extras
parentd5a4ca9dfe235ed410c684e4e7499984a55f3b05 (diff)
configure.ac: ddd --with-firmware-path option
In NixOS we need to use non-standard firmware path: we have no /lib.
Diffstat (limited to 'extras')
-rw-r--r--extras/firmware/firmware.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/extras/firmware/firmware.c b/extras/firmware/firmware.c
index 92f0918c6f..76593bad30 100644
--- a/extras/firmware/firmware.c
+++ b/extras/firmware/firmware.c
@@ -79,10 +79,7 @@ int main(int argc, char **argv)
{ "help", no_argument, NULL, 'h' },
{}
};
- static const char *searchpath[] = {
- "/lib/firmware/updates/",
- "/lib/firmware/"
- };
+ static const char *searchpath[] = { FIRMWARE_PATH };
char fwencpath[UTIL_PATH_SIZE];
char misspath[UTIL_PATH_SIZE];
char loadpath[UTIL_PATH_SIZE];