mirror of
https://github.com/rockchip-linux/mpp.git
synced 2024-11-23 01:53:59 +08:00
9f9986752f
Signed-off-by: MarcA711 <40744649+MarcA711@users.noreply.github.com> Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: I4bd4a7543584685b20089d3953e700f5612523e7
10 lines
187 B
Bash
Executable File
10 lines
187 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd $1
|
|
rm -rf mpp/lib'$2$'.a
|
|
|
|
SCRIPT=$'CREATE mpp/lib'$2$'.a\n'
|
|
SCRIPT=$SCRIPT$(find . -name '*.a' -exec echo 'ADDLIB {}' \;)
|
|
SCRIPT=$SCRIPT$'\nSAVE\nEND\n'
|
|
|
|
ar -M <<< $SCRIPT |