diff options
Diffstat (limited to 'package/imx-lib')
-rw-r--r-- | package/imx-lib/Makefile | 5 | ||||
-rw-r--r-- | package/imx-lib/patches/patch-hdmi-cec_Makefile | 26 |
2 files changed, 3 insertions, 28 deletions
diff --git a/package/imx-lib/Makefile b/package/imx-lib/Makefile index 15ad99b2c..9e14161da 100644 --- a/package/imx-lib/Makefile +++ b/package/imx-lib/Makefile @@ -26,9 +26,10 @@ TARGET_CPPFLAGS+= -I${LINUX_DIR}/drivers/mxc/security/rng/include \ MAKE_ENV+= PLATFORM=IMX6Q CONFIG_STYLE:= manual +post-extract: + rm -rf $(WRKSRC)/hdmi-cec + imx-lib-install: - # remove libcec from staging directory - -rm $(STAGING_TARGET_DIR)/usr/lib/libcec.so.1 $(INSTALL_DIR) $(IDIR_IMX_LIB)/usr/lib $(CP) $(WRKINST)/usr/lib/lib{ipu,pxp}.so* \ $(IDIR_IMX_LIB)/usr/lib diff --git a/package/imx-lib/patches/patch-hdmi-cec_Makefile b/package/imx-lib/patches/patch-hdmi-cec_Makefile deleted file mode 100644 index 020998bd6..000000000 --- a/package/imx-lib/patches/patch-hdmi-cec_Makefile +++ /dev/null @@ -1,26 +0,0 @@ ---- imx-lib-3.10.17-1.0.0.orig/hdmi-cec/Makefile 2014-01-16 15:27:12.000000000 +0100 -+++ imx-lib-3.10.17-1.0.0/hdmi-cec/Makefile 2014-08-27 08:38:14.339600710 +0200 -@@ -21,18 +21,18 @@ endif - all: $(LIBNAME).so $(LIBNAME).a - - install: install_headers -- @mkdir -p $(DEST_DIR)/usr/lib -- cp -P $(LIBNAME).* $(DEST_DIR)/usr/lib -+ @mkdir -p $(DESTDIR)/usr/lib -+ cp -P $(LIBNAME).* $(DESTDIR)/usr/lib - - install_headers: -- @mkdir -p $(DEST_DIR)/usr/include -- cp hdmi-cec.h $(DEST_DIR)/usr/include -+ @mkdir -p $(DESTDIR)/usr/include -+ cp hdmi-cec.h $(DESTDIR)/usr/include - else - all install : - endif - - %.o: %.c -- $(CC) -D$(PLATFORM) -Wall -O2 -fPIC -c $^ -o $@ -+ $(CC) -D$(PLATFORM) $(CFLAGS) -fPIC -c $^ -o $@ - - $(LIBNAME).so.$(SONAMEVERSION): $(OBJ) - $(CC) -shared -nostartfiles -Wl,-soname,$@ $^ -o $@ |