Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#6 zd1201-0.14-fw makefile incorrect for fedora distro

open
nobody
None
5
2005-05-20
2005-05-20
Anonymous
No

The FW package install firmware to
/usr/lib/hotplug/firmware and /etc/firmware fine for
Debian I guess, but Fedota hotplug package is
configured for using /lib/firmware, natural reaction
might be just creating the dir manually this causes de
FW to fail to load:

Failed to load zd1201.fw firmware file!
Make sure the hotplug firmware loader is installed.
Goto http://linux-lc100020.sourceforge.net for more info
zd1201: probe of 1-2:1.0 failed with error -2

while hotplug is installed in fedora kernel and working
properly.

could install and work correctly using modified
makefile (patch):

--- zd1201-0.14-fw/makefile 2004-12-26
17:49:59.000000000 +0100
+++ zd1201-0.14-fw.fedora/makefile 2005-05-20
20:23:02.000000000 +0200
@@ -14,6 +14,6 @@
&& $(INSTALL) ${FIRMWARE} /etc/firmware \ && echo " =>" /etc/firmware/ \ || test -d /usr/lib/hotplug/firmware \ - && $(INSTALL) ${FIRMWARE}
/usr/lib/hotplug/firmware \ - && echo " =>" /usr/lib/hotplug/firmware/ \ + && $(INSTALL) ${FIRMWARE} /lib/firmware \ + && echo " =>" /lib/firmware/ \ || ( echo && echo "Failed: No firmware
directory found" && false )

I don't know the correct way to build a makefile valid
for both distros (sorry little makefile knowledge),
maybe probing with test for both dirs and installing to
the existing one.

Cheers

Discussion

  • patch file to makefile work in fedore distro