2010/8/13 Ahsan, Noor <[email protected]>:
> * Replaced do_stage function with do_install and replaced ${STAGING_BINDIR} 
> with ${D}${bindir}
>
> Signed-off-by: Ahsan, Noor <[email protected]>
> ---
>  recipes/simpad-utilities/serload-native.bb |   12 ++++++++----
>  1 files changed, 8 insertions(+), 4 deletions(-)
>
> diff --git a/recipes/simpad-utilities/serload-native.bb 
> b/recipes/simpad-utilities/serload-native.bb
> index 9be199f..d147db2 100644
> --- a/recipes/simpad-utilities/serload-native.bb
> +++ b/recipes/simpad-utilities/serload-native.bb
> @@ -3,14 +3,18 @@ LICENSE= "GPL"
>  DESCRIPTION = "Console utility for transferring a SIMpad boot image via 
> serial a SIMpad"
>  FILESDIR = "[email protected](bb.data.getVar('FILE',d,1))}/serload"
>  SRC_URI = "file://serialdownload.cpp file://main.cpp file://serialdownload.h"
> +PR = "r1"
>
>  inherit native
>
> +NATIVE_INSTALL_WORKS = "1"
> +
>  do_compile() {
> -       cp ${WORKDIR}/*.h ${WORKDIR}/*.cpp .
> -       ${CXX} -I. -o serload main.cpp serialdownload.cpp
> +        cp ${WORKDIR}/*.h ${WORKDIR}/*.cpp .
> +        ${CXX} -I. -o serload main.cpp serialdownload.cpp
>  }
>
> -do_stage() {
> -       install -m 0755 serload ${STAGING_BINDIR}/
> +do_install() {
> +        install -d ${D}${bindir}/
> +        install -m 0755 serload ${D}${bindir}/
>  }

removed FILESDIR as suggested by Tom RIni,
reran oe-styilze
compiled
committed and pushed

Thanks for your contribution.
Feel free to attack some more recipes :-)

Frans

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to