(Please be sure to see P.P.S. at bottom)
I'm following the instructions at http://processors.wiki.ti.com/index.php/Linux_Toolchain#Kernel
When I try the command "make distclean", it doesn't work. At first, I got an error about no rule for distclean. I immediately recognized that I had to change the working directory to the folder containing the tar extraction (this needs to be added to wiki above). Next, the first output from "make distclean" is:
Makefile:314: /<snip>/linux-davinci-b411b51/scripts/Kbuild.include: No such file or directory
where <snip> is the long pathname to where I've extracted the tar.
Note that "ls" provides
arch block COPYING CREDITS crypto Documentation drivers Kbuild Kconfig MAINTAINERS Makefile README REPORTING-BUGS
and there is no "scripts" folder in the tree. Is my problem indeed that the "scripts" folder is missing? I downloaded the tar from git.kernel.org with Internet Explorer according to the "git snapshot" instructions a little higher in the same link I first referenced above. I believe the "b411b51" in the folder name above should sufficiently identify WHAT I downloaded.
Note that I'm running ubuntu under vmware under WIndows XP. The <snip> folder is on a share living on my Windows XP machine, and I used IE to download the tar to this folder. I unzipped the tar from Windows XP. Within ubuntu terminal I changed working directories to this shared folder.
Thanks very much,
Helmut
P.S. I get a similar Makefile:314 error trying the subsequent make commands from the wiki link, each error including scripts/Kbuild.include, so it's not just distclean that fails, but everything. I'm thinking this must really be about scripts missing.
P.P.S. Doing some searching, I find in my DVSDK that came with DM6467T EVM a file linux-davinci-staging.tar.gz. Inside I find a bunch of source code and folders similar to those in my <snip> folder. I'm thinking this tar contains the stuff to remake the existing kernel for my DM6467T EVM. What's best is that I see a "scripts" folder in there. I'm thinking I should forget my <snip> folder and start again from this tar... What do you think?