[oe] [PATCH 1/2] libnet: fake a libnet pkg to allow libnet-dev to be in SDK

Koen Kooi k.kooi at student.utwente.nl
Tue Feb 22 15:45:06 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 22-02-11 11:21, kernel-hacker at bennee.com wrote:
> From: Alex Bennee <ajb at cbnl.com>
> 
> I'm sure there is a better way than this but this works for now.
> By default libnet-dev has a dependancy on libnet, however this is
> not built as libnet is a static package. This makes it impossible
> to add libnet-dev to a SDK.
> 
> Commenting out the FILES_${PN} for libnet means it does get built
> and together with the -dev package can be added to the SDK
> 
> Signed-off-by: Alex Bennee <ajb at cbnl.com>
> ---
>  recipes/libnet/libnet_1.1.2.1.bb |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/recipes/libnet/libnet_1.1.2.1.bb b/recipes/libnet/libnet_1.1.2.1.bb
> index b09f56e..94c0418 100644
> --- a/recipes/libnet/libnet_1.1.2.1.bb
> +++ b/recipes/libnet/libnet_1.1.2.1.bb
> @@ -32,7 +32,7 @@ do_install_append () {
>  }
>  
>  #static build
> -FILES_${PN} = ""
> +#FILES_${PN} = ""
>  FILES_${PN}-dev += "${bindir}/libnet-config"
>  
>  CPPFLAGS_prepend = "-I${S}/libnet/include "

setting ALLOW_EMPTY to '1' and bumping PR would be a better fix IMO

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNY9oCMkyGM64RGpERAke4AJ9qOy+UbwMMBg+6cRzdgkmxFW6ZgACfRbwt
l64XgWXekQ4Rs3/0uwmjbqQ=
=Lay7
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list