Skip to content

Commit

Permalink
Unset CC which breaks onload DKMS build
Browse files Browse the repository at this point in the history
  • Loading branch information
elcabaye committed Apr 25, 2024
1 parent 0b1f5d5 commit 413b55d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/onload_misc/dkms.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ PACKAGE_VERSION=
# We quote make to avoid a misfeature of DKMS which adds a definition
# of KERNELRELEASE, which should only be defined by kbuild.
if which onload_uninstall >/dev/null 2>&1; then
MAKE[0]="${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build/scripts/onload_install --newkernel ${kernelver}"
MAKE[0]="unset CC; ${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build/scripts/onload_install --newkernel ${kernelver}"
else
MAKE[0]="${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build/scripts/onload_install"
MAKE[0]="unset CC; ${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build/scripts/onload_install"
fi

#CLEAN="${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/source/scripts/onload_misc/onload_uninstall"
Expand Down

0 comments on commit 413b55d

Please sign in to comment.