Merge branch 'hostapd.130311' of git://github.com/jcumming/nixpkgs
Adds 802.11n support for hostapd. 802.11n cards are very common now, and it still builds successfully. Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
commit
901c7ff8ba
@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace Makefile --replace "/usr/local/bin" "$out/bin"
|
substituteInPlace Makefile --replace "/usr/local/bin" "$out/bin"
|
||||||
mv defconfig .config
|
mv defconfig .config
|
||||||
echo CONFIG_LIBNL32=y | tee -a .config
|
echo CONFIG_LIBNL32=y | tee -a .config
|
||||||
|
echo CONFIG_IEEE80211N=y | tee -a .config
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags libnl-3.0)"
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags libnl-3.0)"
|
||||||
'';
|
'';
|
||||||
preInstall = "mkdir -p $out/bin";
|
preInstall = "mkdir -p $out/bin";
|
||||||
@ -27,4 +28,4 @@ stdenv.mkDerivation rec {
|
|||||||
maintainers = [ maintainers.phreedom ];
|
maintainers = [ maintainers.phreedom ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user