mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
* Use fxload.
svn path=/nixpkgs/branches/stdenv-updates/; revision=10580
This commit is contained in:
parent
703135a4de
commit
6edb12e639
@ -1,7 +1,7 @@
|
||||
{stdenv, fetchurl, kernel, ncurses}:
|
||||
{stdenv, fetchurl, kernel, ncurses, fxload}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "wis-go7007-linux-0.9.8";
|
||||
name = "wis-go7007-0.9.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://gentoo.osuosl.org/distfiles/wis-go7007-linux-0.9.8.tar.bz2;
|
||||
@ -35,17 +35,23 @@ stdenv.mkDerivation {
|
||||
#includeDir=$out/lib/modules/$kernelVersion/source/include/linux
|
||||
includeDir=$TMPDIR/scratch
|
||||
substituteInPlace Makefile \
|
||||
--replace '$(DESTDIR)$(KSRC)/include/linux' $includeDir
|
||||
--replace '$(DESTDIR)$(KSRC)/include/linux' $includeDir \
|
||||
--replace '$(DESTDIR)$(FIRMWARE_DIR)' '$(FIRMWARE_DIR)'
|
||||
ensureDir $includeDir
|
||||
ensureDir $out/etc/hotplug/usb
|
||||
ensureDir $out/etc/udev/rules.d
|
||||
|
||||
makeFlagsArray=(KERNELSRC=$kernelSource \
|
||||
FIRMWARE_DIR=/firmware FXLOAD=false \
|
||||
FIRMWARE_DIR=$out/firmware FXLOAD=${fxload}/sbin/fxload \
|
||||
DESTDIR=$out SKIP_DEPMOD=1 \
|
||||
USE_UDEV=y)
|
||||
''; # */
|
||||
|
||||
postInstall = ''
|
||||
ensureDir $out/bin
|
||||
cp apps/gorecord apps/modet $out/bin/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Kernel module for the Micronas GO7007, used in a number of USB TV devices";
|
||||
homepage = http://oss.wischip.com/;
|
||||
|
@ -3747,7 +3747,7 @@ rec {
|
||||
};
|
||||
|
||||
wis_go7007 = import ../os-specific/linux/wis-go7007 {
|
||||
inherit fetchurl stdenv kernel ncurses;
|
||||
inherit fetchurl stdenv kernel ncurses fxload;
|
||||
};
|
||||
|
||||
wpa_supplicant = import ../os-specific/linux/wpa_supplicant {
|
||||
|
Loading…
Reference in New Issue
Block a user