patch-ipu_Makefile 961 B

12345678910111213141516171819202122232425262728
  1. --- imx-lib-3.10.17-1.0.0.orig/ipu/Makefile 2014-01-16 15:27:12.000000000 +0100
  2. +++ imx-lib-3.10.17-1.0.0/ipu/Makefile 2014-08-27 08:37:52.467524299 +0200
  3. @@ -17,11 +17,11 @@ ifeq ($(PLATFORM), $(findstring $(PLATFO
  4. all: $(LIBNAME).so
  5. install:
  6. - @mkdir -p $(DEST_DIR)/usr/lib
  7. - cp -P $(LIBNAME).* $(DEST_DIR)/usr/lib
  8. - @mkdir -p $(DEST_DIR)/usr/include
  9. - cp mxc_ipu_hl_lib.h $(DEST_DIR)/usr/include
  10. - cp ipu.h $(DEST_DIR)/usr/include
  11. + @mkdir -p $(DESTDIR)/usr/lib
  12. + cp -P $(LIBNAME).* $(DESTDIR)/usr/lib
  13. + @mkdir -p $(DESTDIR)/usr/include
  14. + cp mxc_ipu_hl_lib.h $(DESTDIR)/usr/include
  15. + cp ipu.h $(DESTDIR)/usr/include
  16. else
  17. all install:
  18. @echo "Not support platform, will not complile"
  19. @@ -37,7 +37,7 @@ $(LIBNAME).so: $(LIBNAME).so.$(SONAMEVER
  20. ifeq "$(PLATFORM)" ""
  21. $(error "Unspecified PLATFORM variable")
  22. endif
  23. - $(CC) -D$(PLATFORM) $(INCLUDE) -Wall -O2 -fPIC -c $^ -o $@
  24. + $(CC) -D$(PLATFORM) $(CFLAGS) -fPIC -c $^ -o $@
  25. .PHONY: clean
  26. clean: