Skip to content

Commit

Permalink
[Spark] rtcore header installation support added
Browse files Browse the repository at this point in the history
  • Loading branch information
HaseenaSainul committed Apr 30, 2019
1 parent c6dc6dd commit 44d51a5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package/spark/spark.mk
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ SPARK_CONF_OPTS += \
define RTCORE_INSTALL_LIBS
$(INSTALL) -m 755 $(@D)/build/egl/librtCore.so $(1)/usr/lib/
endef
define RTCORE_INSTALL_INCLUDES
mkdir -p $(STAGING_DIR)/usr/include/unix
cp -Rpf $(@D)/src/unix/*.h $(STAGING_DIR)/usr/include/unix
endef

endif

Expand Down Expand Up @@ -88,6 +92,7 @@ endif
define SPARK_INSTALL_STAGING_CMDS
$(call RTCORE_INSTALL_LIBS, $(STAGING_DIR))
cp -ar $(@D)/src/*.h $(STAGING_DIR)/usr/include/
$(RTCORE_INSTALL_INCLUDES)
mkdir -p $(STAGING_DIR)/usr/include/spark
cp -ar $(@D)/examples/pxScene2d/src/*.h $(STAGING_DIR)/usr/include/spark/
$(SPARK_INSTALL_PX_NATIVE_WINDOW)
Expand Down

0 comments on commit 44d51a5

Please sign in to comment.