nanopi2: Move the kernel cleanup after wifi build
This commit is contained in:
@@ -281,7 +281,6 @@ cp arch/arm/boot/uImage "${basedir}"/kali-${architecture}/boot/uImage.hdmi
|
||||
#cp arch/arm/boot/uImage "${basedir}"/bootp/uImage-s70
|
||||
#cp arch/arm/boot/uImage "${basedir}"/bootp/uImage.lcd
|
||||
#cp arch/arm/boot/uImage "${basedir}"/bootp/uImage
|
||||
make mrproper
|
||||
cd "${basedir}"
|
||||
|
||||
# FriendlyARM suggest using backports for wifi with their devices, and the
|
||||
@@ -302,6 +301,11 @@ cd ..
|
||||
XCROSS="${basedir}"/gcc-arm-linux-gnueabihf-4.7/bin/arm-linux-gnueabihf- ANDROID=n ./build.sh -k "${basedir}"/kali-${architecture}/usr/src/kernel -c nanopi2 -o "${basedir}"/kali-${architecture}
|
||||
cd "${basedir}"
|
||||
|
||||
# Now we clean up the kernel build
|
||||
cd "${basedir}"/kali-${architecture}/usr/src/kernel
|
||||
make mrproper
|
||||
cd "${basedir}"
|
||||
|
||||
# Copy over the firmware for the nanopi2/3 wifi.
|
||||
# At some point, nexmon could work for the device, but the support would need to
|
||||
# be added to nexmon.
|
||||
|
||||
Reference in New Issue
Block a user