[oe] [PATCH 1/2] libnet: fake a libnet pkg to allow libnet-dev to be in SDK
kernel-hacker at bennee.com
kernel-hacker at bennee.com
Tue Feb 22 10:21:31 UTC 2011
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 "
--
1.7.4.1
More information about the Openembedded-devel
mailing list