Skip to content
This repository was archived by the owner on May 8, 2024. It is now read-only.

Commit a8b6217

Browse files
authored
Merge pull request #496 from fbelavenuto/docker
More docker adjustments
2 parents 6edf6cc + bb302f2 commit a8b6217

File tree

1 file changed

+3
-3
lines changed
  • docker/syno-compiler/files/opt

1 file changed

+3
-3
lines changed

docker/syno-compiler/files/opt/do.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ function compile-module {
5252
cp -R /input /tmp
5353
export-vars ${PLATFORM}
5454
PARMS="${PLATFORM^^}-Y=y ${PLATFORM^^}-M=m"
55-
if [ -f "/tmp/input/defines" ]
55+
if [ -f "/tmp/input/defines.${1}" ]
5656
then
57-
PARMS+=" `cat "/tmp/input/defines" | xargs`"
57+
PARMS+=" `cat "/tmp/input/defines.${1}" | xargs`"
5858
fi
59-
make -C "/opt/${PLATFORM}/build" M="/tmp/input" ${PARMS} modules
59+
make -j`nproc` -C "/opt/${PLATFORM}/build" M="/tmp/input" ${PARMS} modules
6060
while read F; do
6161
strip -g "${F}"
6262
echo "Copying `basename ${F}`"

0 commit comments

Comments
 (0)