Lines Matching full:arch
37 string arch = uname_machine; in get_flags() local
41 arch = "x86"; in get_flags()
43 arch = "x86"; in get_flags()
45 arch = "arm"; in get_flags()
47 arch = "arm"; in get_flags()
49 arch = "s390"; in get_flags()
51 arch = "parisc"; in get_flags()
53 arch = "powerpc"; in get_flags()
55 arch = "mips"; in get_flags()
57 arch = "sh"; in get_flags()
59 arch = "arm64"; in get_flags()
62 // If ARCH env is defined, use it over uname in get_flags()
63 archenv = getenv("ARCH"); in get_flags()
65 arch = string(archenv); in get_flags()
73 cflags->push_back("-I" + kdir_ + "/build/arch/"+arch+"/include"); in get_flags()
74 cflags->push_back("-I" + kdir_ + "/build/arch/"+arch+"/include/generated/uapi"); in get_flags()
75 cflags->push_back("-I" + kdir_ + "/build/arch/"+arch+"/include/generated"); in get_flags()
77 cflags->push_back("-I" + kdir_ + "/build/./arch/"+arch+"/include/uapi"); in get_flags()
78 cflags->push_back("-I" + kdir_ + "/build/arch/"+arch+"/include/generated/uapi"); in get_flags()
84 cflags->push_back("-I./arch/"+arch+"/include"); in get_flags()
85 cflags->push_back("-Iarch/"+arch+"/include/generated/uapi"); in get_flags()
86 cflags->push_back("-Iarch/"+arch+"/include/generated"); in get_flags()
88 cflags->push_back("-I./arch/"+arch+"/include/uapi"); in get_flags()
89 cflags->push_back("-Iarch/"+arch+"/include/generated/uapi"); in get_flags()
99 // If ARCH env variable is set, pass this along. in get_flags()
101 cflags->push_back("-D__TARGET_ARCH_" + arch); in get_flags()