mirror of https://gitee.com/openkylin/dkms.git
Import Debian changes 3.0.7-ok1
dkms (3.0.7-ok1) yangtze; urgency=low * Initial release.
This commit is contained in:
parent
6059f52d89
commit
13dec9fbdd
|
@ -1 +0,0 @@
|
|||
11
|
|
@ -1 +0,0 @@
|
|||
dkms_3.0.7-ok1_source.buildinfo kernel optional
|
|
@ -1,23 +0,0 @@
|
|||
Description: Use exact compiler for dkms as used to build the kernel
|
||||
Ubuntu kernel builds do not export .kernelvariables file, thus extend
|
||||
CC detection to read compiler binary from the .config file
|
||||
|
||||
|
||||
Index: dkms-3.0.3/dkms.in
|
||||
===================================================================
|
||||
--- dkms-3.0.3.orig/dkms.in
|
||||
+++ dkms-3.0.3/dkms.in
|
||||
@@ -1007,6 +1007,13 @@ actual_build()
|
||||
unset CC
|
||||
fi
|
||||
|
||||
+ if [[ -e $kernel_source_dir/.config ]]; then
|
||||
+ cc=$(sed -n 's|^CONFIG_CC_VERSION_TEXT="\([^ ]*\) .*"|\1|p' $kernel_source_dir/.config)
|
||||
+ if command -v "$cc" >/dev/null; then
|
||||
+ export CC="$cc"
|
||||
+ fi
|
||||
+ fi
|
||||
+
|
||||
invoke_command "$clean" "Cleaning build area" background
|
||||
echo $"DKMS make.log for $module-$module_version for kernel $kernelver ($arch)" >> "$build_log"
|
||||
date >> "$build_log"
|
|
@ -1,2 +0,0 @@
|
|||
#abort-on-upstream-changes
|
||||
#unapply-patches
|
Loading…
Reference in New Issue