How to cross-compile an application with library dependencies for Yocto Linux?
问题 I wrote an application on my laptop (Ubuntu 14.04) that depends on GStreamer and would like to cross-compile it for my Yocto Linux target (iMX6S-Wandboard). How do I cross-compile the application so that it runs on the target board and is able to use the GStreamer libraries? Thank you, Toan UDPATE: My Makefile: PACKAGES = gstreamer-1.0 override CFLAGS += `pkg-config --cflags $(PACKAGES)` -Wall -Wextra "-DDATADIR=\"$(DATADIR)/\"" -ffunction-sections -fdata-sections override LIBS += `pkg-config