From mboxrd@z Thu Jan 1 00:00:00 1970 From: free.amit.kumar@gmail.com (Amit Kumar) Date: Wed, 1 Feb 2017 23:47:08 +0000 Subject: Which repository to clone ? In-Reply-To: References: Message-ID: <20170201234708.GA13053@li620-105.members.linode.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Thu, Feb 02, 2017 at 03:39:18AM +0530, srishti sharma wrote: > Hey, > I am an absolute newbie , I tried to clone greg kroah-hartman's > staging tree repository , somehow I was not able to boot in the kernel > I built . > > Also, Does this command below give me the latest kernel code ? > > I have tried to clone another repository using the command below > > git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git > > > while building with this , I had to install gcc plugin-dev . I don't > understand why ? > I didn't have to do it last time I built the kernel You may use this link, https://www.kernel.org/doc/man-pages/linux-next.html In summary, first you clone main upstream tree then add linux-next tree. Whenever you want to create a patch, create a topic branch from the latest next-* tag. Regards, Amit Kumar > > Regards > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies