kernel toplevel makefile problem
Recently I am studying kernel toplevel makefile, and I think the makefile is complicated, so could anyone tell me how to read the makefile, sequence or not? thank you!
another question is in the makefile, it has the sentence as follow: srctree := $(if $(KBUILD_SRC),$(KBUILD_SRC),$(CURDIR)) Both KBUILD_SRC and CURDIR didn't defined. so the value srctree is NULL?? ------------------------------------------------- VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 17 |
Hey There,
The most basic way to look at a Makefile is Quote:
Quote:
Hope that helps :) Mike |
Sorry,
For your first question, I'm guessing, but those variables might be set by the configure script, if you have to run one. Sometimes people define them in the Makefile, but you can reference variables out the actual file as long as they're exported in the subshell you're running in :) Mike |
All times are GMT -5. The time now is 12:32 PM. |