package/nodejs: add BR2_PACKAGE_HAS_NODEJS

Commit ccf3536fcb ("package/nodejs: make
target nodejs package virtual") forgot to introduce the
BR2_PACKAGE_HAS_<foo> boolean option matching the newly introduced
virtual package, causing check package warnings.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 0bae9b29cd)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
Thomas Petazzoni
2025-05-17 12:22:02 +02:00
committed by Thomas Perale
parent 0eb8ec9b86
commit 5353119950
2 changed files with 4 additions and 0 deletions

View File

@@ -87,6 +87,9 @@ config BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS
endif
config BR2_PACKAGE_HAS_NODEJS
bool
config BR2_PACKAGE_PROVIDES_NODEJS
string
default "nodejs-src"

View File

@@ -1,2 +1,3 @@
config BR2_PACKAGE_NODEJS_SRC
bool
select BR2_PACKAGE_HAS_NODEJS