On Monday 06 March 2006 11:53 am, Rohit Chaudhri wrote:
> I think I ran into a similar problem when I was building my toolchain.
> In my case it seemed that the way patches are applied in crosstool and
> sb-toolchains is different. Crosstool applies patches only from the
> diretory crosstool-0.42/patches/xxx/, it doesn't go into any subdirs
> after that. sb-toolchain on the other had tries to traverse all
> subdirs. In your case its trying to go under the subdir called "old".
> I don't know why its unable to traverse the subdir, but the patches
> under this subdir are probably not needed (at least in my case for
> gcc3.3.2 & glibc 2.3.2 they were not needed) delete the subdir and try
> the build again. If its the same problem as I had run int, you'll get
> past it.
The crosstool patches are applied in in the pre-configure step in Makefiles
like:
libc/crosstool-glibc/Makefile with the command:
for FILE in $(shell ls $(CROSSTOOL_DIR)/patches/$(GARNAME)-$(GARVERSION)/*); do
\
patch -d $(WORKSRC) -p1 < $$FILE; \
done
This should probably be improved upon to it doesn't try to get directories in
the file list.
Perhaps something using find -type f?
I don't have time to look at it right now.
Jon
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users