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