gitignore with kernel source result in fail to compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

Recently I am trying to use git with kernel development, and add the linux-2.6.21 to git repo as follow:

cd linux-2.6.21
git init
git add .
git commit

But when I using "git clone" to get the this repo and then compile it, it said that arch/xxx/vmlinux.lds.S can't be found. Then I checked .gitignore, found vmlinux* on the list. I don't know why...

Is it the normal way to build a kernel source repo?  Of course, if I cloned source from the Linus Torvalds's, everything goes well.
 
I tried git 1.5.1.4 and 1.5.1.6.

Thanks!

--
regards,
Yang, Sheng

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux