Just starting out with FreeBSD and it's been a long time since I've used a *nix OS. I wanted to compile a custom kernel and get the feel for this process and so I set up a configuration file and tried to compile which resulted in this error.
Seems that make is complaining about the mentioned lines of code but I have no idea why, or what to do about it. I did download the source for base and sys today but I hadn't tried compiling the kernel prior to this so I can't say if that has anything to do with the error. I've already searched posts by others that have had this same issues and couldn't find any so here I am. Really need some help, thanks in advance.
Code:
"Makefile.inc1", line 1112: Malformed conditional (${MK_GCC} != "no" && ${MK_CLANG_IS_CC} == "no")
"Makefile.inc1", line 1114: if-less endif
"Makefile.inc1", line 1174: Malformed conditional (${MK_CLANG} != "no" && (${MK_CLANG_IS_CC} != "no" || ${CC:T:Mclang} == "clang"))
"Makefile.inc1", line 1177: if-less endif
"Makefile.inc1", line 1179: Malformed conditional (${MK_GCC} != "no" && ${MK_CLANG_IS_CC} == "no")
"Makefile.inc1", line 1181: if-less endif
"Makefile.inc1", line 1242: Malformed conditional (${MK_LIBCPLUSPLUS} != "no")
"Makefile.inc1", line 1244: if-less endif
make: fatal errors encountered -- cannot continue
*** Error code 1