Message ID | 1413186949-7006-2-git-send-email-jezz@sysmic.org |
---|---|
State | Superseded |
Headers | show |
Jérôme, All, On 2014-10-13 09:55 +0200, Jérôme Pouiller spake thusly: > Problem was reported : > http://lists.busybox.net/pipermail/buildroot/2014-July/101566.html > http://lists.busybox.net/pipermail/buildroot/2014-October/107613.html > > Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> > --- > package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk | 9 +++++++++ > .../gstreamer/gst-fsl-plugins/ld.so.conf.d-gst-fsl-plugins.conf | 5 +++++ > 2 files changed, 14 insertions(+) > create mode 100644 package/gstreamer/gst-fsl-plugins/ld.so.conf.d-gst-fsl-plugins.conf > > diff --git a/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk b/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk > index 8d8b8b4..21046fc 100644 > --- a/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk > +++ b/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk > @@ -40,4 +40,13 @@ endef > > GST_FSL_PLUGINS_POST_PATCH_HOOKS += GST_FSL_PLUGINS_PATCH_M4 > > +define GST_FSL_PLUGINS_FIX_LD_PATH > + $(INSTALL) -d $(TARGET_DIR)/etc/ld.so.conf.d > + $(INSTALL) -m 644 \ > + package/gstreamer/gst-fsl-plugins/ld.so.conf.d-gst-fsl-plugins.conf \ > + $(TARGET_DIR)/etc/ld.so.conf.d I'd prefer you do it in one command: $(INSTALL) -D -m 0644 \ package/gstreamer/gst-fsl-plugins/ld.so.conf.d-gst-fsl-plugins.conf \ $(TARGET_DIR)/etc/ld.so.conf.d/gst-fsl-plugins.conf That way, the directory is created in case it is missing. Also, the name of the install file is shorter and more meaningful. Regards, Yann E. MORIN. > +endef > + > +GST_FSL_PLUGINS_POST_INSTALL_TARGET_HOOKS += GST_FSL_PLUGINS_FIX_LD_PATH > + > $(eval $(autotools-package)) > diff --git a/package/gstreamer/gst-fsl-plugins/ld.so.conf.d-gst-fsl-plugins.conf b/package/gstreamer/gst-fsl-plugins/ld.so.conf.d-gst-fsl-plugins.conf > new file mode 100644 > index 0000000..325fbf1 > --- /dev/null > +++ b/package/gstreamer/gst-fsl-plugins/ld.so.conf.d-gst-fsl-plugins.conf > @@ -0,0 +1,5 @@ > +# cf. https://community.freescale.com/thread/300387 > +/usr/lib/imx-mm/audio-codec > +/usr/lib/imx-mm/video-codec > +/usr/lib/imx-mm/parser > + > -- > 1.9.1 > > _______________________________________________ > buildroot mailing list > buildroot@busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot
diff --git a/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk b/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk index 8d8b8b4..21046fc 100644 --- a/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk +++ b/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk @@ -40,4 +40,13 @@ endef GST_FSL_PLUGINS_POST_PATCH_HOOKS += GST_FSL_PLUGINS_PATCH_M4 +define GST_FSL_PLUGINS_FIX_LD_PATH + $(INSTALL) -d $(TARGET_DIR)/etc/ld.so.conf.d + $(INSTALL) -m 644 \ + package/gstreamer/gst-fsl-plugins/ld.so.conf.d-gst-fsl-plugins.conf \ + $(TARGET_DIR)/etc/ld.so.conf.d +endef + +GST_FSL_PLUGINS_POST_INSTALL_TARGET_HOOKS += GST_FSL_PLUGINS_FIX_LD_PATH + $(eval $(autotools-package)) diff --git a/package/gstreamer/gst-fsl-plugins/ld.so.conf.d-gst-fsl-plugins.conf b/package/gstreamer/gst-fsl-plugins/ld.so.conf.d-gst-fsl-plugins.conf new file mode 100644 index 0000000..325fbf1 --- /dev/null +++ b/package/gstreamer/gst-fsl-plugins/ld.so.conf.d-gst-fsl-plugins.conf @@ -0,0 +1,5 @@ +# cf. https://community.freescale.com/thread/300387 +/usr/lib/imx-mm/audio-codec +/usr/lib/imx-mm/video-codec +/usr/lib/imx-mm/parser +
Problem was reported : http://lists.busybox.net/pipermail/buildroot/2014-July/101566.html http://lists.busybox.net/pipermail/buildroot/2014-October/107613.html Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> --- package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk | 9 +++++++++ .../gstreamer/gst-fsl-plugins/ld.so.conf.d-gst-fsl-plugins.conf | 5 +++++ 2 files changed, 14 insertions(+) create mode 100644 package/gstreamer/gst-fsl-plugins/ld.so.conf.d-gst-fsl-plugins.conf