-
Notifications
You must be signed in to change notification settings - Fork 721
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install OpenSSH headers/lib for hiba usage
The installed files will be populated to hiba's sysroot automatically and used for builds.
- Loading branch information
Showing
2 changed files
with
26 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
do_install:append () { | ||
if ${@bb.utils.contains("DISTRO_FEATURES", "hiba", "false", "true", d)} ; then | ||
echo "DISTRO_FEATURES does not support hiba. Skip the installations" | ||
exit 0 | ||
fi | ||
|
||
install -d ${D}/usr/include/ssh | ||
install -d ${D}/usr/include/ssh/openbsd-compat | ||
install -d ${D}/usr/lib/ | ||
install -m0644 ${S}/*.h ${D}/usr/include/ssh | ||
install -m0644 ${S}/libssh* ${D}/usr/lib/ | ||
install -m0644 ${S}/openbsd-compat/*.h ${D}/usr/include/ssh/openbsd-compat | ||
install -m0644 ${S}/openbsd-compat/libopenbsd-compat* ${D}/usr/lib/ | ||
} |