summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-08-19 18:03:09 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-08-19 18:03:09 -0300
commitd53e4a483d2cbdebd6af056472527e8fbd0bec79 (patch)
tree5d197e60ceb2dd89c227034b3435dfb03e80af0e
parent251b132bc8d5157b996afff54617d2483637aa4b (diff)
Enable batman-adv
-rw-r--r--libre/linux-libre/PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD
index 687d2de9c..7cd4e6a6b 100644
--- a/libre/linux-libre/PKGBUILD
+++ b/libre/linux-libre/PKGBUILD
@@ -77,11 +77,13 @@ build() {
# https://git.kernel.org/?p=linux/hotplug/udev.git;a=blob_plain;f=README
# and make USB storage support builtin (e.g. for booting from USB
# disks without slowly loading an initramfs)
+# since 3.4 rtl8187 supports adhoc mode, so batman-adv is enabled again
sed -ri -e "s|CONFIG_MIPS32_N32=.*|CONFIG_MIPS32_N32=y|g" \
-e "s|CONFIG_MIPS32_N32=.*|CONFIG_MIPS32_N32=y|g" \
-e "s|CONFIG_UEVENT_HELPER_PATH=.*|CONFIG_UEVENT_HELPER_PATH=\"\"|g" \
-e "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_localversionname}\"|g" \
-e "s;(CONFIG_USB(_COMMON|_EHCI_HCD|_OHCI_HCD|_STORAGE.*|_UAS)?)=.*;\1=y;g" \
+ -e "s|# CONFIG_BATMAN_ADV is not set|CONFIG_BATMAN_ADV=m|g" \
./.config
else
cat "${srcdir}/config.${CARCH}" > ./.config # simpler