Skip to content

Commit 7925192

Browse files
committed
hexagon-dsp-binaries: move QCM6490, QCS8300 and SA8775P firmware packages away
Patch Hexagon DSP binaries packages in order to remove the conflict between the files provided by the recipe and the tip versions of the firmware (to be added in the next commits). Signed-off-by: Dmitry Baryshkov <[email protected]>
1 parent eb2435e commit 7925192

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
REMOVE_BOARDS = " \
2+
qcom-sa8775p-ride \
3+
qcom-qcs8300-ride \
4+
thundercomm-rb3gen2 \
5+
"
6+
REMOVE_PACKAGES = " \
7+
adsp \
8+
cdsp \
9+
gdsp \
10+
"
11+
12+
python() {
13+
pkgs = d.getVar('PACKAGES').split()
14+
newpkgs = []
15+
for board in d.getVar('REMOVE_BOARDS').split():
16+
for pkg in d.getVar('REMOVE_PACKAGES').split():
17+
name = 'hexagon-dsp-binaries-%s-%s' % (board, pkg)
18+
x_name = 'x-' + name
19+
if name in pkgs:
20+
pkgs.remove(name)
21+
newpkgs.append(x_name)
22+
files = d.getVar('FILES:%s' % name, False)
23+
d.setVar('FILES:%s' % x_name, files)
24+
files = d.getVar('LICENSE:%s' % name)
25+
d.setVar('LICENSE:%s' % x_name, files)
26+
files = d.getVar('RDEPENDS:%s' % name)
27+
d.setVar('RDEPENDS:%s' % x_name, files)
28+
files = d.getVar('INSANE_SKIP:%s' % name)
29+
d.setVar('INSANE_SKIP:%s' % x_name, files)
30+
newpkgs.extend(pkgs)
31+
d.setVar('PACKAGES', ' '.join(newpkgs))
32+
}
33+

0 commit comments

Comments
 (0)