diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-28 12:58:29 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-28 12:58:29 +0200 |
commit | 3e1c67b68f5a878d726526070a0a03675ec992e1 (patch) | |
tree | 6ac65bfd7bd4b3b633325dbc4b12b961a96304da /package/imx-vpu/patches | |
parent | 461bb11b91a766ea607b20558a3315e7e6f6e894 (diff) | |
parent | 76b0c60b5a04647a13cf0fd975ab84972ae1e51d (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/imx-vpu/patches')
-rw-r--r-- | package/imx-vpu/patches/patch-vpu_Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/package/imx-vpu/patches/patch-vpu_Makefile b/package/imx-vpu/patches/patch-vpu_Makefile new file mode 100644 index 000000000..e4698f8e7 --- /dev/null +++ b/package/imx-vpu/patches/patch-vpu_Makefile @@ -0,0 +1,28 @@ +--- imx-vpu-3.10.17-1.0.0.orig/vpu/Makefile 2014-01-16 15:27:33.000000000 +0100 ++++ imx-vpu-3.10.17-1.0.0/vpu/Makefile 2014-08-27 08:43:40.116737574 +0200 +@@ -21,19 +21,19 @@ 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 vpu_lib.h $(DEST_DIR)/usr/include +- cp vpu_io.h $(DEST_DIR)/usr/include ++ @mkdir -p $(DESTDIR)/usr/include ++ cp vpu_lib.h $(DESTDIR)/usr/include ++ cp vpu_io.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 $@ -lpthread |