On Thu, Aug 24, 2006 at 10:26:59AM -0700, K. Richard Pixley wrote:
> Matt Hoosier wrote:
> 
> >Rich,
> >
> >You can make a Debian package out of the whole foreign toolchain by
> >doing "make CONFIG=meta/alien-tc/my.conf deb". 
> 
> Er...  from where?
> 
> --rich
> 
> [EMAIL PROTECTED]> pwd
> /home/rpixley/sb-toolchain-extras
> [EMAIL PROTECTED]> time make 
> CONFIG=meta/alien-tc/arm-linux-gnueabi.conf deb
> sed -e "s/<NAME>/arm-linux-gnueabi/" \
>    -e "s/<PACKAGE>/<you have to fill in this one>/" \
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
>    -e "s/<REPLACES>/"scratchbox-devicetools", /" \
>    -e "s/<CONFLICTS>/"scratchbox-devicetools"/" \
>    debian/control.in > debian/control
> sed -e "s/<VERSION>/1.0.5/" \
>    -e "s/<DATE>/Fri, 21 Apr 2006 12:21:00 +0000/" \
>    debian/changelog.in > debian/changelog
> cp COPYRIGHT debian/copyright
> CONFIG=meta/alien-tc/arm-linux-gnueabi.conf dpkg-buildpackage -rfakeroot 
> -b -uc
<...>
> dh_clean
> /scratchbox/tools/bin/sh: line 1: you: No such file or directory
                                    ^^^
> dh_clean: command returned error code

That error sounds like that in your compiler configuration
(arm-linux-gnueabi.conf) you have the default values made by 
create_toolchain_conf.py.
A line like: 
COMPILER_PACKAGE = <you have to fill in this one>"
Replace it with a valid debian package name like
COMPILER_PACKAGE = scratchbox-toolchain-mycool-arm-gnueabi
(or something more descriptive) and the thing should pack itself.

-- 
Toni Timonen
040-5111863,GPG 0x7984A4FD
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to