Greetings,
I have a kernel for a an embedded target developed in house. I have a
"make dep" quesiton, not particular to any arch / board. I performed
the following steps:
$ make dep (Step 1)
$ make clean (Step 2)
$ make zImage (Step 3)
Everything is fine so far. Then
$ "changed a #define in a header file" (Step 4)
$ make zImage (Step 5)
Upon which I realized the changes in the header file were not picked
up. So I did the following
$ make clean (Step 6)
$ make zImage (Step 7)
Now the changes were picked up.
Q. Do I need to do a "make dep" after I do any changes to any c or h
file (before Step 5)?
Q. If the above answer is NO, why did the build process not detect the
change in the header file. Is the dependency file creation corrupted?
Do I need to investigate the "dep" section of the Makefile.
Q. How do I go about debugging this issue.
Thanks in advance,
Ahmed.