All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] libnl: Add append recipe to expose private files
@ 2015-01-30 23:19 Sam Nelson
  2015-01-30 23:19 ` [PATCH 2/2] libnl-xfrm: Add recipe for libnl-xfrm Sam Nelson
  2015-01-31  2:54 ` [PATCH 1/2] libnl: Add append recipe to expose private files Denys Dmytriyenko
  0 siblings, 2 replies; 5+ messages in thread
From: Sam Nelson @ 2015-01-30 23:19 UTC (permalink / raw)
  To: meta-arago

- Private files installed are needed to allow xfrm extension of libnl
- Version 3.2.24 already have this patch

Signed-off-by: Sam Nelson <sam.nelson@ti.com>

---
This is needed temporarily to patch 3.2.22 as the arago preferred version is 3.2.22
---
---
 .../recipes-support/libnl/libnl_3.2.22.bbappend    |    8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bbappend

diff --git a/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bbappend b/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bbappend
new file mode 100644
index 0000000..4885c7d
--- /dev/null
+++ b/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bbappend
@@ -0,0 +1,8 @@
+PR_append = "-arago0"
+
+do_install_append() {
+#   Install private files to allow libnl extensions
+    install -d ${D}${includedir}/netlink-private
+    cp -r ${S}/include/netlink-private/cache-api.h ${D}${includedir}/netlink-private/
+    cp -r ${S}/include/netlink-private/object-api.h ${D}${includedir}/netlink-private/
+}
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] libnl-xfrm: Add recipe for libnl-xfrm
  2015-01-30 23:19 [PATCH 1/2] libnl: Add append recipe to expose private files Sam Nelson
@ 2015-01-30 23:19 ` Sam Nelson
  2015-01-31  2:54 ` [PATCH 1/2] libnl: Add append recipe to expose private files Denys Dmytriyenko
  1 sibling, 0 replies; 5+ messages in thread
From: Sam Nelson @ 2015-01-30 23:19 UTC (permalink / raw)
  To: meta-arago

- Provides libnl extension for XFRM support

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
---
 .../recipes-support/libnl-xfrm/libnl-xfrm_git.bb   |   40 ++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 meta-arago-extras/recipes-support/libnl-xfrm/libnl-xfrm_git.bb

diff --git a/meta-arago-extras/recipes-support/libnl-xfrm/libnl-xfrm_git.bb b/meta-arago-extras/recipes-support/libnl-xfrm/libnl-xfrm_git.bb
new file mode 100644
index 0000000..74733f0
--- /dev/null
+++ b/meta-arago-extras/recipes-support/libnl-xfrm/libnl-xfrm_git.bb
@@ -0,0 +1,40 @@
+DESCRIPTION = "Libnl extension for XFRM support"
+PROVIDES = "libnl-xfrm"
+SECTION = "net"
+LICENSE = "BSD-3-Clause"
+
+COMPATIBLE_MACHINE = "keystone"
+
+LIC_FILES_CHKSUM = "file://include/xfrm_pvt.h;beginline=1;endline=33;md5=fe068af290f274f2a86a867bbd7cc61c"
+
+DEPENDS = "libnl"
+
+BRANCH="hawking_dev"
+# The following commit correspond to DEV.LIBNL-XFRM.03.01.00.00A
+SRCREV = "2a5ee7c4f41398c07c593e81af7b71c7720e6de8"
+SRC_URI = "git://arago-project.org/git/projects/libnl-xfrm.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+LIBNL_XFRM_LIB = "lib/libnl-xfrm.a"
+
+CFLAGS += "-I${STAGING_INCDIR} -I${STAGING_INCDIR}/libnl3 -fPIC -DPIC "
+
+do_compile() {
+	mkdir -p ${S}/lib
+	make clean
+	make all
+}
+
+do_install_append() {
+	install -d ${D}${libdir}/
+	install -d ${D}${includedir}/
+	install -d ${D}${includedir}/libnl3/netlink/
+	install -d ${D}${includedir}/libnl3/netlink/xfrm/
+	install -c -m 755 ${S}/${LIBNL_XFRM_LIB} ${D}${libdir}/
+	install -c -m 755 ${S}/include/netlink/xfrm/*.h ${D}${includedir}/libnl3/netlink/xfrm/
+	install -c -m 755 ${S}/lib/libnl-xfrm.so ${D}${libdir}/libnl-xfrm.so.1.0.0
+	cd ${D}${libdir}/
+	ln -s libnl-xfrm.so.1.0.0 libnl-xfrm.so.1
+	ln -s libnl-xfrm.so.1.0.0 libnl-xfrm.so
+}
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] libnl: Add append recipe to expose private files
  2015-01-30 23:19 [PATCH 1/2] libnl: Add append recipe to expose private files Sam Nelson
  2015-01-30 23:19 ` [PATCH 2/2] libnl-xfrm: Add recipe for libnl-xfrm Sam Nelson
@ 2015-01-31  2:54 ` Denys Dmytriyenko
  2015-01-31  3:50   ` Nelson, Sam
  1 sibling, 1 reply; 5+ messages in thread
From: Denys Dmytriyenko @ 2015-01-31  2:54 UTC (permalink / raw)
  To: Sam Nelson; +Cc: meta-arago

On Fri, Jan 30, 2015 at 06:19:33PM -0500, Sam Nelson wrote:
> - Private files installed are needed to allow xfrm extension of libnl
> - Version 3.2.24 already have this patch

Why do you need this, if you have 3.2.24 already?


> Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> 
> ---
> This is needed temporarily to patch 3.2.22 as the arago preferred version is 3.2.22
> ---
> ---
>  .../recipes-support/libnl/libnl_3.2.22.bbappend    |    8 ++++++++
>  1 file changed, 8 insertions(+)
>  create mode 100644 meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bbappend
> 
> diff --git a/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bbappend b/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bbappend
> new file mode 100644
> index 0000000..4885c7d
> --- /dev/null
> +++ b/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bbappend
> @@ -0,0 +1,8 @@
> +PR_append = "-arago0"
> +
> +do_install_append() {
> +#   Install private files to allow libnl extensions
> +    install -d ${D}${includedir}/netlink-private
> +    cp -r ${S}/include/netlink-private/cache-api.h ${D}${includedir}/netlink-private/
> +    cp -r ${S}/include/netlink-private/object-api.h ${D}${includedir}/netlink-private/
> +}
> -- 
> 1.7.9.5
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] libnl: Add append recipe to expose private files
  2015-01-31  2:54 ` [PATCH 1/2] libnl: Add append recipe to expose private files Denys Dmytriyenko
@ 2015-01-31  3:50   ` Nelson, Sam
  2015-02-01  1:25     ` Denys Dmytriyenko
  0 siblings, 1 reply; 5+ messages in thread
From: Nelson, Sam @ 2015-01-31  3:50 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-arago



> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Friday, January 30, 2015 9:54 PM
> To: Nelson, Sam
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH 1/2] libnl: Add append recipe to expose
> private files
> 
> On Fri, Jan 30, 2015 at 06:19:33PM -0500, Sam Nelson wrote:
> > - Private files installed are needed to allow xfrm extension of libnl
> > - Version 3.2.24 already have this patch
> 
> Why do you need this, if you have 3.2.24 already?
> 
[Sam] This is needed temporarily to patch 3.2.22 as the arago preferred version is currently
 3.2.22
> 
> > Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> >
> > ---
> > This is needed temporarily to patch 3.2.22 as the arago preferred version is
> 3.2.22
> > ---
> > ---
> >  .../recipes-support/libnl/libnl_3.2.22.bbappend    |    8 ++++++++
> >  1 file changed, 8 insertions(+)
> >  create mode 100644 meta-arago-extras/recipes-
> support/libnl/libnl_3.2.22.bbappend
> >
> > diff --git a/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bbappend
> b/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bbappend
> > new file mode 100644
> > index 0000000..4885c7d
> > --- /dev/null
> > +++ b/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bbappend
> > @@ -0,0 +1,8 @@
> > +PR_append = "-arago0"
> > +
> > +do_install_append() {
> > +#   Install private files to allow libnl extensions
> > +    install -d ${D}${includedir}/netlink-private
> > +    cp -r ${S}/include/netlink-private/cache-api.h ${D}${includedir}/netlink-
> private/
> > +    cp -r ${S}/include/netlink-private/object-api.h ${D}${includedir}/netlink-
> private/
> > +}
> > --
> > 1.7.9.5
> >
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] libnl: Add append recipe to expose private files
  2015-01-31  3:50   ` Nelson, Sam
@ 2015-02-01  1:25     ` Denys Dmytriyenko
  0 siblings, 0 replies; 5+ messages in thread
From: Denys Dmytriyenko @ 2015-02-01  1:25 UTC (permalink / raw)
  To: Nelson, Sam; +Cc: meta-arago

On Fri, Jan 30, 2015 at 10:50:20PM -0500, Nelson, Sam wrote:
> 
> 
> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Friday, January 30, 2015 9:54 PM
> > To: Nelson, Sam
> > Cc: meta-arago@arago-project.org
> > Subject: Re: [meta-arago] [PATCH 1/2] libnl: Add append recipe to expose
> > private files
> > 
> > On Fri, Jan 30, 2015 at 06:19:33PM -0500, Sam Nelson wrote:
> > > - Private files installed are needed to allow xfrm extension of libnl
> > > - Version 3.2.24 already have this patch
> > 
> > Why do you need this, if you have 3.2.24 already?
> > 
> [Sam] This is needed temporarily to patch 3.2.22 as the arago preferred version is currently
>  3.2.22

Can you do PREFERRED_VERSION_keystone = "3.2.24"?


> > > Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> > >
> > > ---
> > > This is needed temporarily to patch 3.2.22 as the arago preferred version is
> > 3.2.22
> > > ---
> > > ---
> > >  .../recipes-support/libnl/libnl_3.2.22.bbappend    |    8 ++++++++
> > >  1 file changed, 8 insertions(+)
> > >  create mode 100644 meta-arago-extras/recipes-
> > support/libnl/libnl_3.2.22.bbappend
> > >
> > > diff --git a/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bbappend
> > b/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bbappend
> > > new file mode 100644
> > > index 0000000..4885c7d
> > > --- /dev/null
> > > +++ b/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bbappend
> > > @@ -0,0 +1,8 @@
> > > +PR_append = "-arago0"
> > > +
> > > +do_install_append() {
> > > +#   Install private files to allow libnl extensions
> > > +    install -d ${D}${includedir}/netlink-private
> > > +    cp -r ${S}/include/netlink-private/cache-api.h ${D}${includedir}/netlink-
> > private/
> > > +    cp -r ${S}/include/netlink-private/object-api.h ${D}${includedir}/netlink-
> > private/
> > > +}
> > > --
> > > 1.7.9.5
> > >
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-02-01  1:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-30 23:19 [PATCH 1/2] libnl: Add append recipe to expose private files Sam Nelson
2015-01-30 23:19 ` [PATCH 2/2] libnl-xfrm: Add recipe for libnl-xfrm Sam Nelson
2015-01-31  2:54 ` [PATCH 1/2] libnl: Add append recipe to expose private files Denys Dmytriyenko
2015-01-31  3:50   ` Nelson, Sam
2015-02-01  1:25     ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.