lkml.org 
[lkml]   [2007]   [Sep]   [11]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 11 Sep 2007 11:17:48 +0530
From"pradeep singh rautela" <>
SubjectRe: [Q]Adding src files to 2.6.18 kernel and build failure query
On 9/10/07, Sam Ravnborg <sam@ravnborg.org> wrote:
[...]
> > I added some .c files to a new dir under net/foo/ .
> > Added corresponding .h files to a new dir under include/foo/
> >> > Create a Kconfig and Makefile in net/foo/ directory.
> > Added corresponding entries to Makefile and Kconfig in the net/ dir.
> >> > I happily executed a make with a beaming face after selecting the foo
> > option after doing a> > $make menuconfig.> >> > To my surprise i got this error :-> >> > make[1]: *** No rule to make target `arch/i386/kernel/vmlinux.lds',
> > needed by `__build'.  Stop>> Did the kernel build before you started adding your stuff?
> It looks like you broke something non-obvious when adding your stuff since the
> above failure should not happen just by adding a new directory under net/

Went home and tried again. It builds fine in git repo, but again
whenever i make an archive using git-archive --format=tar
--prefix=linux-2.6.18/ HEAD | bzip2 > linux-2.6.18.tar.bz2 , i get the
problem with this bzipped tree.
I removed .gitignore file from the my git repo and added manually
rules to .git/info/exclude instead. This did the trick and
git-archiv'ing did not result in a broken bzipped tree.

Perhaps i did something silly or may be something to do with git. ??

Thanks for the hint Sam.
--pradeep
--
pradeep singh rautela

"question = ( to ) ? be : ! be;"
                -- Wm. Shakespeare
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-09-11 07:51    [from the cache]
©2003-2008