SHARE
TWEET

Untitled

a guest Sep 20th, 2017 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. LOCAL_PATH := $(call my-dir)
  2. include $(CLEAR_VARS)
  3.  
  4. GST_FFMPEG_TOP := $(LOCAL_PATH)
  5.  
  6. GST_FFMPEG_BUILT_SOURCES = \
  7.  
  8. GST_FFMPEG_BUILT_SOURCES := $(patsubst %, $(abspath $(GST_FFMPEG_TOP))/%, $(GST_FFMPEG_BUILT_SOURCES))
  9.  
  10. .PHONY: gst-ffmpeg-configure gst-ffmpeg-configure-real
  11. gst-ffmpeg-configure-real:
  12.     cd $(GST_FFMPEG_TOP) ; \
  13.     CC="$(CONFIGURE_CC)" \
  14.     CFLAGS="$(CONFIGURE_CFLAGS)" \
  15.     LD=$(TARGET_LD) \
  16.     LDFLAGS="$(CONFIGURE_LDFLAGS)" \
  17.     CPP=$(CONFIGURE_CPP) \
  18.     CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \
  19.     PKG_CONFIG_LIBDIR="$(CONFIGURE_PKG_CONFIG_LIBDIR)" \
  20.     PKG_CONFIG_TOP_BUILD_DIR=/ \
  21.     $(abspath $(GST_FFMPEG_TOP))/$(CONFIGURE) --host=arm-linux-androideabi \
  22.     --prefix=/system --disable-orc --disable-valgrind --disable-gtk-doc --disable-zlib && \
  23.     for file in $(GST_FFMPEG_BUILT_SOURCES); do \
  24.         rm -f $$file && \
  25.         make -C $$(dirname $$file) $$(basename $$file) ; \
  26.     done
  27.  
  28. gst-ffmpeg-configure: gst-ffmpeg-configure-real
  29.  
  30. CONFIGURE_TARGETS += gst-ffmpeg-configure
  31.  
  32. #-include $(GST_PLUGINS_GOOD_TOP)/gst/monoscope/Android.mk
RAW Paste Data
Top