summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 7ffb6cd..ab12359 100644
--- a/Makefile
+++ b/Makefile
@@ -422,10 +422,10 @@ install-udev: devices
firmware:
ifeq ($(HOTPLUG_FIRMWARE),yes)
- if [ -d /usr/lib/hotplug/firmware ]; then \
- install -m 644 *.ima /usr/lib/hotplug/firmware; \
- elif [ -d /lib/firmware ]; then \
- install -m 644 *.ima /lib/firmware; \
+ if [ -d $(INSTALL_PREFIX)/usr/lib/hotplug/firmware ]; then \
+ install -m 644 *.ima $(INSTALL_PREFIX)/usr/lib/hotplug/firmware; \
+ elif [ -d $(INSTALL_PREFIX)/lib/firmware ]; then \
+ install -m 644 *.ima $(INSTALL_PREFIX)/lib/firmware; \
fi
@echo "Installed firmware"
else