Skip to content
Snippets Groups Projects
Commit 837d417f authored by Andreas Gnau's avatar Andreas Gnau :speech_balloon:
Browse files

bcmkernel: bcm_git: Require WiFi patch script to exist

parent c1a82f58
No related branches found
No related tags found
1 merge request!65bcmkernel: bcm_git: Fix invocation of WiFi BSP patch script and remove support for old scripts
...@@ -195,15 +195,15 @@ import_module() ...@@ -195,15 +195,15 @@ import_module()
rm -f $repo/git_tmp/INSTALL-src-wifi.txt rm -f $repo/git_tmp/INSTALL-src-wifi.txt
# move the files # move the files
rsync -a "$repo/git_tmp/" "$repo/bcm963xx/" rsync -a "$repo/git_tmp/" "$repo/bcm963xx/"
# sometimes they also include patches # They also include patches which are applied using a script
local apply_bsp_patch_script="$repo/bcm963xx/dopatch" # new patch script from 5.04L.04 local apply_bsp_patch_script="$repo/bcm963xx/dopatch" # new patch script from 5.04L.04
if [ -x "$apply_bsp_patch_script" ]; then if [ -x "$apply_bsp_patch_script" ]; then
echo "Applying bsp-patches using script $(basename "$apply_bsp_patch_script")" echo "Applying bsp-patches using script $(basename "$apply_bsp_patch_script")"
(cd "$(dirname "$apply_bsp_patch_script")" && "./$(basename "$apply_bsp_patch_script")" apply) (cd "$(dirname "$apply_bsp_patch_script")" && "./$(basename "$apply_bsp_patch_script")" apply)
else else
echo "No bsp-patches script $apply_bsp_patch_script found." echo "Error: No bsp-patches script $apply_bsp_patch_script found."
return 1
fi fi
;; ;;
wifi_src-*) wifi_src-*)
# The new wifi src packages from 5.04L.03 onwards will only contain the impl src files for the # The new wifi src packages from 5.04L.03 onwards will only contain the impl src files for the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment