Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
broadcom
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Feed
broadcom
Commits
b3a768c0
Commit
b3a768c0
authored
3 years ago
by
Jani Juvan
Browse files
Options
Downloads
Patches
Plain Diff
bcmkernel: Update bcmkernel integration script
parent
7f70ffac
No related branches found
No related tags found
1 merge request
!18
Update bcmkernel integration script
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bcmkernel/scripts/bcm_git.sh
+24
-2
24 additions, 2 deletions
bcmkernel/scripts/bcm_git.sh
with
24 additions
and
2 deletions
bcmkernel/scripts/bcm_git.sh
+
24
−
2
View file @
b3a768c0
...
...
@@ -184,7 +184,7 @@ import_module()
done
)
;;
wlan-all-src-
*
|
wlan-bin-all-
*
)
wlan-all-src-
*
|
wlan-bin-all-
*
|
wifi_sdkdeps-
*
)
# WLAN binaries and sources are versioned separately. So, the "module" is something
# like wlan-all-src-17.10.157.2802 for a tarball like wlan-all-src-17.10.157.2802.cpe5.04L.02.tgz.
# There can be multiple WLAN drivers implementations (impls) applied to the same release.
...
...
@@ -199,6 +199,7 @@ import_module()
# wlan tarballs are to be extracted over the existing tree (minus the readme, if it exists)
rm
-f
$repo
/git_tmp/readme.txt
rm
-f
$repo
/git_tmp/INSTALL-src-wifi.txt
# move the files
rsync
-a
"
$repo
/git_tmp/"
"
$repo
/bcm963xx/"
# sometimes they also include patches
...
...
@@ -210,6 +211,23 @@ import_module()
echo
"No bsp-patches script
$apply_bsp_patch_script
found."
fi
;;
wifi_src-
*
)
# The new wifi src packages from 5.04L.03 onwards will only contain the impl src files for the
# corresponding impl delivered in the wifi_sdkdeps tarball.
# These are to be applied after the wifi_sdkdeps tarball.
# determine which impl this tarball contains (for commit message with parentheses and trailing space)
shopt
-s
failglob
impl
=
$(
cd
$repo
/git_tmp
&&
echo
.impl
*
)
impl
=
${
impl
:1
}
wlan_impl_hint
=
"(wl
$impl
) "
shopt
-u
failglob
echo
"
$module
contains wl driver source for
$impl
"
# move the files
rsync
-a
--mkpath
"
$repo
/git_tmp/"
"
$repo
/bcm963xx/bcmdrivers/broadcom/net/wl/
$impl
/"
;;
*
)
echo
-e
"
\t
${
module
}
from
${
tar
}
not supported"
...
...
@@ -305,10 +323,14 @@ add_release ()
for
module
in
$bcm_modules
do
case
"
$module
"
in
wlan-all-src-
*
|
wlan-bin-all-
*
)
wlan-all-src-
*
|
wlan-bin-all-
*
|
wifi_sdkdeps-
*
)
# WiFi drivers have their own naming convention like wlan-all-src-17.10.157.2802.cpe5.04L.02.tgz.
tar
=
"
${
module
}
.cpe
${
version
}
.tgz"
;;
wifi_src-
*
)
# New WiFi drivers from 5.04L.03 onwards have slightly different naming convention
tar
=
"
${
module
}
.tgz"
;;
*
)
tar
=
"bcm963xx_
${
version
}
_
${
module
}
.tar.gz"
;;
...
...
This diff is collapsed.
Click to expand it.
Andreas Gnau
@AGnau
mentioned in commit
66af4422
·
3 years ago
mentioned in commit
66af4422
mentioned in commit 66af4422eb1917c838096359a33b7be53eccdd63
Toggle commit list
Andreas Gnau
@AGnau
mentioned in commit
104daea9
·
2 years ago
mentioned in commit
104daea9
mentioned in commit 104daea966d453115e11c97796419070060dc7a6
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment