diff options
author | Liam Middlebrook <lmiddlebrook@nvidia.com> | 2018-09-19 14:31:28 -0700 |
---|---|---|
committer | Liam Middlebrook <lmiddlebrook@nvidia.com> | 2018-09-19 14:31:28 -0700 |
commit | 6bf5c05b85776005a385467b84edaca08634332e (patch) | |
tree | ced3dd0a82496b1f85b72bfba07516532875c837 /files.c | |
parent | 84755d777efa1d0a95912926bbe121c3234d4c16 (diff) |
410.57
Diffstat (limited to 'files.c')
-rw-r--r-- | files.c | 20 |
1 files changed, 7 insertions, 13 deletions
@@ -773,12 +773,6 @@ int set_destinations(Options *op, Package *p) path = p->entries[i].path; break; - case FILE_TYPE_OPENGL_HEADER: - prefix = op->opengl_prefix; - dir = op->opengl_incdir; - path = p->entries[i].path; - break; - case FILE_TYPE_INSTALLER_BINARY: prefix = op->utility_prefix; dir = op->utility_bindir; @@ -2176,16 +2170,18 @@ void process_dkms_conf(Options *op, Package *p) int i; char *tmpfile; - char *tokens[6] = { "__VERSION_STRING", "__DKMS_MODULES", "__JOBS", - "__EXCLUDE_MODULES", "will be generated", NULL }; - char *replacements[6] = { p->version, NULL, NULL, - p->excluded_kernel_modules, - "was generated", NULL }; + char *tokens[] = { "__VERSION_STRING", "__DKMS_MODULES", "__JOBS", + "__EXCLUDE_MODULES", "will be generated", + "__IGNORE_CC_MISMATCH", NULL }; + char *replacements[] = { p->version, NULL, NULL, + p->excluded_kernel_modules, + "was generated", NULL, NULL }; int package_num_entries = p->num_entries; replacements[1] = nvstrdup(""); replacements[2] = nvasprintf("%d", op->concurrency_level); + replacements[5] = op->ignore_cc_version_check ? "1" : ""; /* Build the list of kernel modules to be installed */ for (i = 0; i < p->num_kernel_modules; i++) { @@ -2463,8 +2459,6 @@ void get_default_prefixes_and_paths(Options *op) if (!op->opengl_libdir) op->opengl_libdir = default_libdir; - if (!op->opengl_incdir) - op->opengl_incdir = DEFAULT_INCDIR; if (!op->x_prefix) { if (op->modular_xorg) { |