You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/07/15 15:29:56 UTC

[GitHub] [incubator-nuttx-apps] acassis commented on a change in pull request #334: Don't copy headers outside of LittlevGL library

acassis commented on a change in pull request #334:
URL: https://github.com/apache/incubator-nuttx-apps/pull/334#discussion_r455142090



##########
File path: graphics/lvgl/Makefile
##########
@@ -78,20 +78,21 @@ $(LVGL_UNPACKNAME): $(LVGL_TARBALL)
 	$(Q) mv	lvgl-$(LVGL_VERSION) $(LVGL_UNPACKNAME)
 	$(Q) touch $(LVGL_UNPACKNAME)
 
-lvgl/lvgl.h: $(LVGL_UNPACKNAME)
+$(LVGL_UNPACKNAME)/lvgl.h: $(LVGL_UNPACKNAME)
 
-$(APPDIR)/include/graphics/lvgl.h: lvgl/lvgl.h
-	@echo "CP: lvgl/lvgl.h"
-	$(Q) cp lvgl/lvgl.h $(APPDIR)/include/graphics/lvgl.h
+exports/graphics/lvgl.h: $(LVGL_UNPACKNAME)/lvgl.h
+	$(Q) mkdir -p exports/graphics
+	@echo "CP: $(LVGL_UNPACKNAME)/lvgl.h"
+	$(Q) cp $(LVGL_UNPACKNAME)/lvgl.h exports/graphics/lvgl.h

Review comment:
       I think "#include <lvgl/lvgl.h>" as Maciej modified is fine. Currently only "lvgldemo" is using the LVGL. Maciej, avoid using the name LittlevGL because it is "deprecated", see: https://blog.lvgl.io/2020-06-01/announcement




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org