diff options
| author | Tom Hochstein <tom.hochstein@nxp.com> | 2023-02-06 15:47:57 -0600 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-02-09 15:56:25 -0800 |
| commit | f9c9e7a448b9d9f7d54bbf09970223db467eedb2 (patch) | |
| tree | fe56140ae3f9a0eaa85c74ee57eecded3cd2f104 | |
| parent | 389ee7fe7dd2d8fb2cb6f5bb2830cc834e8a56d8 (diff) | |
| download | meta-openembedded-f9c9e7a448b9d9f7d54bbf09970223db467eedb2.tar.gz | |
nlohmann-json: Allow empty main package for SDK
The header-only package cannot be included in the SDK without marking
the main package with ALLOW_EMPTY.
Fixes rootfs problem:
```
The following packages have unmet dependencies:
imx-gpu-sdk : Depends: nlohmann-json but it is not installable
E: Unable to correct problems, you have held broken packages.
```
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.11.2.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.11.2.bb b/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.11.2.bb index 502262820a..6cf27755e8 100644 --- a/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.11.2.bb +++ b/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.11.2.bb | |||
| @@ -18,7 +18,7 @@ inherit cmake | |||
| 18 | EXTRA_OECMAKE += "-DJSON_BuildTests=OFF" | 18 | EXTRA_OECMAKE += "-DJSON_BuildTests=OFF" |
| 19 | 19 | ||
| 20 | # nlohmann-json is a header only C++ library, so the main package will be empty. | 20 | # nlohmann-json is a header only C++ library, so the main package will be empty. |
| 21 | 21 | ALLOW_EMPTY:${PN} = "1" | |
| 22 | RDEPENDS:${PN}-dev = "" | 22 | RDEPENDS:${PN}-dev = "" |
| 23 | 23 | ||
| 24 | BBCLASSEXTEND = "native nativesdk" | 24 | BBCLASSEXTEND = "native nativesdk" |
