summaryrefslogtreecommitdiff
path: root/package/imx-lib/patches/patch-hdmi-cec_Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-04-03 22:57:01 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-04-03 22:57:01 +0200
commit5b940999b01a7f41490700177289cccaaa942e30 (patch)
tree8c253f1d789b91ffe2140e1ae2cfc40529435895 /package/imx-lib/patches/patch-hdmi-cec_Makefile
parent1b579f2666a0d3d1076540c7c15714e6ec773df5 (diff)
parent67b8b43f6d34c2a06eb7c06be481b7fd5fb11829 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/imx-lib/patches/patch-hdmi-cec_Makefile')
-rw-r--r--package/imx-lib/patches/patch-hdmi-cec_Makefile27
1 files changed, 21 insertions, 6 deletions
diff --git a/package/imx-lib/patches/patch-hdmi-cec_Makefile b/package/imx-lib/patches/patch-hdmi-cec_Makefile
index ba404e621..020998bd6 100644
--- a/package/imx-lib/patches/patch-hdmi-cec_Makefile
+++ b/package/imx-lib/patches/patch-hdmi-cec_Makefile
@@ -1,11 +1,26 @@
---- imx-lib-3.10.53-1.1.0.orig/hdmi-cec/Makefile 2014-12-23 03:34:05.000000000 -0600
-+++ imx-lib-3.10.53-1.1.0/hdmi-cec/Makefile 2015-03-08 13:57:44.305700918 -0500
-@@ -33,7 +33,7 @@ all install :
+--- 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 -fPIC $(CFLAGS) -c $^ -o $@
-+ $(CC) -D$(PLATFORM) $(CPPFLAGS) $(CFLAGS) -fPIC -c $^ -o $@
+- $(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 $@ $(LDFLAGS)
+ $(CC) -shared -nostartfiles -Wl,-soname,$@ $^ -o $@