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("freebsd requires -build flag")
41 "-fmessage-length=0",
42 "-nostdinc",
43 "-D_KERNEL",
44 "-D__BSD_VISIBLE=1",
45 "-I", filepath.Join(arch.sourceDir, "sys"),
46 "-I", filepath.Join(arch.sourceDir, "sys", "sys"),
47 "-I", filepath.Join(arch.sourceDir, "sys", "amd64"),
48 "-I", arch.buildDir,
51 args = append(args, "-I"+filepath.Join(arch.sourceDir, incdir))
60 compat := SYS + prefix + val[len(SYS):]
61 compatNames[val] = append(compatNames[val], compat)
62 info.Consts = append(info.Consts, compat)
65 compat := "LINUX_" + val
66 compatNames[val] = append(compatNames[val], compat)
67 info.Consts = append(info.Consts, compat)
72 for _, compat := range compats {
73 if undeclared[orig] && !undeclared[compat] {
74 res[orig] = res[compat]
75 delete(res, compat)
78 delete(undeclared, compat)