I have the following dir structure:
.
├── files
│ ├── file1.so
│ ├── file2.so
│ └── fileN.so
└── my-libs.bb
I wish to be able to copy these into the rootfs.
First I made this bitbake, based off of this answer: https://stackoverflow.com/a/40768781/5907840
SUMMARY = "The shared libraries"
SECTION = "PETALINUX/apps"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "file://*"
do_install() {
install -d ${WORKDIR}/my_libs
install -m 0755 ${S}/* ${WORKDIR}/my_libs/*
}
FILES_${PN} = "/my_libs/*"
However, if I build this, I get cannot stat <petalinux_dir_to_module>/my-libs/1.0-rc0/my-libs-1.0/*: no such file or directory
When I ls that dir, it is empty, isn't it meant to be the source directory?
What am I missing in this recipe?