Cosmetics

Update module sets DIRTY flag
This commit is contained in:
Fabio Belavenuto
2022-07-21 11:21:24 -03:00
parent 7b2a7b210a
commit 8f7318f90f
16 changed files with 10 additions and 3 deletions

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash
set -e
function compile-module {
# Validate
if [ -z "${1}" ]; then
@@ -19,7 +21,7 @@ function compile-module {
fi
echo "Compiling module for ${PLATFORM}-${KVER}..."
cp -R /input /tmp
make -C "/opt/${PLATFORM}" M="/tmp/input" PLATFORM=${PLATFORM^^} modules
make -C "/opt/${PLATFORM}" M="/tmp/input" ${PLATFORM^^}-Y=y ${PLATFORM^^}-M=m modules
while read F; do
strip -g "${F}"
echo "Copying `basename ${F}`"