Skip to content

Commit

Permalink
chore: download the node-red-contrib-sscma node through npm in buildroot
Browse files Browse the repository at this point in the history
  • Loading branch information
Lesords committed Oct 11, 2024
1 parent 0dd612f commit 409cf3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion external/br2-external/sscma-app/sscma-app.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SSCMA_APP_SITE = https://github.com/Seeed-Studio/sscma-example-sg200x.git
SSCMA_APP_SITE_METHOD = git
SSCMA_APP_GIT_SUBMODULES = YES
SSCMA_APP_LICENSE = Apache-2.0
SSCMA_APP_DEPENDENCIES = mosquitto
SSCMA_APP_DEPENDENCIES = mosquitto host-nodejs

define SSCMA_APP_BUILD_CMDS
(cd $(@D); \
Expand All @@ -21,6 +21,8 @@ endef

define SSCMA_APP_INSTALL_TARGET_CMDS
@cp -rf $(@D)/install/* $(TARGET_DIR)/
mkdir -p $(TARGET_DIR)/home/recamera/.node-red/node_modules
$(NPM) install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict --prefix $(TARGET_DIR)/home/recamera/.node-red [email protected]
endef

$(eval $(generic-package))

0 comments on commit 409cf3e

Please sign in to comment.