Lines Matching +full:- +full:compat
19 …return fmt.Errorf("provide path to kernel checkout via -sourcedir flag (or make extract SOURCEDIR)…
22 return fmt.Errorf("netbsd requires -build flag")
55 "-fmessage-length=0",
56 "-nostdinc",
57 "-D_KERNEL",
58 "-D__BSD_VISIBLE=1",
59 "-I", filepath.Join(arch.sourceDir, "sys"),
60 "-I", filepath.Join(arch.sourceDir, "sys", "sys"),
61 "-I", filepath.Join(arch.sourceDir, "sys", "arch", "amd64"),
62 "-I", filepath.Join(arch.sourceDir, "common", "include"),
63 "-I", filepath.Join(arch.sourceDir, "sys", "compat", "linux", "common"),
64 "-I", arch.buildDir,
67 args = append(args, "-I"+filepath.Join(arch.sourceDir, incdir))
77 compat := SYS + prefix + val[len(SYS):] + suffix
78 compatNames[val] = append(compatNames[val], compat)
79 info.Consts = append(info.Consts, compat)
83 compat := "LINUX_" + val
84 compatNames[val] = append(compatNames[val], compat)
85 info.Consts = append(info.Consts, compat)
90 for _, compat := range compats {
91 if undeclared[orig] && !undeclared[compat] {
92 res[orig] = res[compat]
93 delete(res, compat)
96 delete(undeclared, compat)