@@ -35,10 +35,12 if [ "$ENABLE_NEXMON" = true ] && [ "$ENABLE_WIRELESS" = true ]; then | |||
|
35 | 35 | cd "${NEXMON_ROOT}" || exit |
|
36 | 36 | |
|
37 | 37 | # Make ancient isl build |
|
38 | export CC="${NEXMON_ROOT}"/buildtools/gcc-arm-none-eabi-5_4-2016q2-linux-x86/bin/arm-none-eabi- | |
|
39 | export CC="${CC}"gcc | |
|
38 | 40 |
|
|
39 | CC="${CC}"gcc | |
|
40 | 41 | ./configure |
|
41 | 42 | make |
|
43 | cd ../.. || exit | |
|
42 | 44 | |
|
43 | 45 | # Disable statistics |
|
44 | 46 | touch DISABLE_STATISTICS |
@@ -49,7 +51,7 if [ "$ENABLE_NEXMON" = true ] && [ "$ENABLE_WIRELESS" = true ]; then | |||
|
49 | 51 | export KERNEL="${KERNEL_IMAGE}" |
|
50 | 52 | export ARCH=arm |
|
51 | 53 | export SUBARCH=arm |
|
52 | export CC="${NEXMON_ROOT}"/buildtools/gcc-arm-none-eabi-5_4-2016q2-linux-x86/bin/arm-none-eabi- | |
|
54 | ||
|
53 | 55 | export CCPLUGIN="${NEXMON_ROOT}"/buildtools/gcc-nexmon-plugin/nexmon.so |
|
54 | 56 | export ZLIBFLATE="zlib-flate -compress" |
|
55 | 57 | export Q=@ |
@@ -62,8 +64,11 if [ "$ENABLE_NEXMON" = true ] && [ "$ENABLE_WIRELESS" = true ]; then | |||
|
62 | 64 | make |
|
63 | 65 | |
|
64 | 66 | # Backup stock broadcom wlan driver - "${LIB_DIR}"/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko |
|
65 | brcmfmac_path=$(modinfo brcmfmac | grep -m 1 -oP "^filename:(\s*?)(.*)$" | sed -e 's/^filename:\(\s*\)\(.*\)$/\2/g') | |
|
66 | mv "${brcmfmac_path}" "${brcmfmac_path}".orig | |
|
67 | #brcmfmac_path=$(modinfo brcmfmac | grep -m 1 -oP "^filename:(\s*?)(.*)$" | sed -e 's/^filename:\(\s*\)\(.*\)$/\2/g') | |
|
68 | #brcmfmac_path="${LIB_DIR}"/modules/"${KERNEL_VERSION}"/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko | |
|
69 | #mv "${brcmfmac_path}" "${brcmfmac_path}".orig | |
|
70 | ||
|
71 | # | |
|
67 | 72 | |
|
68 | 73 | # build patches |
|
69 | 74 | if [ "$RPI_MODEL" = 0 ] || [ "$RPI_MODEL" = 3 ] ; then |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant