mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
Merge pull request #496 from fbelavenuto/docker
More docker adjustments
This commit is contained in:
commit
a8b6217264
@ -52,11 +52,11 @@ function compile-module {
|
||||
cp -R /input /tmp
|
||||
export-vars ${PLATFORM}
|
||||
PARMS="${PLATFORM^^}-Y=y ${PLATFORM^^}-M=m"
|
||||
if [ -f "/tmp/input/defines" ]
|
||||
if [ -f "/tmp/input/defines.${1}" ]
|
||||
then
|
||||
PARMS+=" `cat "/tmp/input/defines" | xargs`"
|
||||
PARMS+=" `cat "/tmp/input/defines.${1}" | xargs`"
|
||||
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
|
||||
strip -g "${F}"
|
||||
echo "Copying `basename ${F}`"
|
||||
|
Loading…
x
Reference in New Issue
Block a user