projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: system-tests: format lava2-submit.py according to `black`
[lttng-ci.git]
/
scripts
/
lttng-modules
/
param-build.sh
diff --git
a/scripts/lttng-modules/param-build.sh
b/scripts/lttng-modules/param-build.sh
index e016e135173081916b6c728f8daa22e7448970a7..0ce165a7aca1d2b67a542a8868d3d1bf9d160970 100644
(file)
--- a/
scripts/lttng-modules/param-build.sh
+++ b/
scripts/lttng-modules/param-build.sh
@@
-314,7
+314,9
@@
extract_distro_headers() {
# On powerpc 32bits this object is required to link modules
if [ "${karch}" = "powerpc" ]; then
# On powerpc 32bits this object is required to link modules
if [ "${karch}" = "powerpc" ]; then
- if [ "x$(scripts/config -s CONFIG_PPC64)" = "xn" ]; then
+ if [ "x$(scripts/config -s CONFIG_PPC64)" = "xy" ] && vergte "${kversion}" "5.4"; then
+ :
+ else
cp -a --parents arch/powerpc/lib/crtsavres.[So] "${LINUX_HDROBJ_DIR}/"
fi
fi
cp -a --parents arch/powerpc/lib/crtsavres.[So] "${LINUX_HDROBJ_DIR}/"
fi
fi
@@
-374,7
+376,9
@@
extract_distro_headers() {
# On powerpc 32bits this object is required to link modules
if [ "${karch}" = "powerpc" ]; then
# On powerpc 32bits this object is required to link modules
if [ "${karch}" = "powerpc" ]; then
- if [ "x$(scripts/config -s CONFIG_PPC64)" = "xn" ]; then
+ if [ "x$(scripts/config -s CONFIG_PPC64)" = "xy" ] && vergte "${kversion}" "5.4"; then
+ :
+ else
make arch/powerpc/lib/crtsavres.o CC="$CC"
fi
fi
make arch/powerpc/lib/crtsavres.o CC="$CC"
fi
fi
This page took
0.022819 seconds
and
4
git commands to generate.