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



##########
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:
       Update: Acutally it will be `#include <lvgl/lvgl.h>` not `#include 
<lvgl.h>`, there was one more explicit include present in `lvgldemo` `Makefile` 
which I just noticed.
   
   
https://github.com/w8jcik/incubator-nuttx-apps/pull/1/commits/7f62736c771922aa8c8e6bd3d4976d083ef66ef8
   
   But this is LittlevGL specific. The question remains, is it fine to drop 
prefixes?




----------------------------------------------------------------
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:
[email protected]


Reply via email to