mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
More docker adjustments
This commit is contained in:
parent
6edf6cc290
commit
bb302f2bae
@ -52,11 +52,11 @@ function compile-module {
|
|||||||
cp -R /input /tmp
|
cp -R /input /tmp
|
||||||
export-vars ${PLATFORM}
|
export-vars ${PLATFORM}
|
||||||
PARMS="${PLATFORM^^}-Y=y ${PLATFORM^^}-M=m"
|
PARMS="${PLATFORM^^}-Y=y ${PLATFORM^^}-M=m"
|
||||||
if [ -f "/tmp/input/defines" ]
|
if [ -f "/tmp/input/defines.${1}" ]
|
||||||
then
|
then
|
||||||
PARMS+=" `cat "/tmp/input/defines" | xargs`"
|
PARMS+=" `cat "/tmp/input/defines.${1}" | xargs`"
|
||||||
fi
|
fi
|
||||||
make -C "/opt/${PLATFORM}/build" M="/tmp/input" ${PARMS} modules
|
make -j`nproc` -C "/opt/${PLATFORM}/build" M="/tmp/input" ${PARMS} modules
|
||||||
while read F; do
|
while read F; do
|
||||||
strip -g "${F}"
|
strip -g "${F}"
|
||||||
echo "Copying `basename ${F}`"
|
echo "Copying `basename ${F}`"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user