diff options
Diffstat (limited to 'meta-networking/recipes-daemons/openhpi/files/openhpi-sysfs-cross-compile.patch')
| -rw-r--r-- | meta-networking/recipes-daemons/openhpi/files/openhpi-sysfs-cross-compile.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/openhpi/files/openhpi-sysfs-cross-compile.patch b/meta-networking/recipes-daemons/openhpi/files/openhpi-sysfs-cross-compile.patch new file mode 100644 index 0000000000..38d9a67424 --- /dev/null +++ b/meta-networking/recipes-daemons/openhpi/files/openhpi-sysfs-cross-compile.patch | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | Fix sysfs when cross-compiling | ||
| 2 | |||
| 3 | Use proper paths for sysfs plugins when cross-compiling | ||
| 4 | |||
| 5 | Signed-of-by: Aws Ismail <aws.ismail@windriver.com> | ||
| 6 | |||
| 7 | Upstream-Status: Pending | ||
| 8 | |||
| 9 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | ||
| 10 | |||
| 11 | diff --git a/plugins/sysfs/sysfs2hpi.c b/plugins/sysfs/sysfs2hpi.c | ||
| 12 | index a745214..3685598 100644 | ||
| 13 | --- a/plugins/sysfs/sysfs2hpi.c | ||
| 14 | +++ b/plugins/sysfs/sysfs2hpi.c | ||
| 15 | @@ -18,7 +18,7 @@ | ||
| 16 | |||
| 17 | #include <stdlib.h> | ||
| 18 | #include <string.h> | ||
| 19 | -#include <libsysfs.h> | ||
| 20 | +#include <sysfs/libsysfs.h> | ||
| 21 | |||
| 22 | #include <SaHpi.h> | ||
| 23 | #include <oh_utils.h> | ||
