Commit Graph

5 Commits

Author SHA1 Message Date
Enrico Jörns 342d82096a libconfuse: add backported patch to fix search path logic
The fix is required to deal with absolute paths when using genimage in
openembedded context.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 14:16:20 -07:00
Enrico Jörns 5c87230ad0 libconfuse: switch to release tar archive
Building autotools packages from git can be a bit tricky and requires
manual invocations of autogen.sh, etc.

An attempt to build for native build fails with:

| autoreconf: running: autopoint --force
| Can't exec "autopoint": No such file or directory at [..]/tmp/work/x86_64-linux/libconfuse-native/3.3/recipe-sysroot-native/usr/share/autoconf/Autom4te/FileUtils.pm line 318.
| autoreconf: error: autopoint failed with exit status: 2
| WARNING: exit code 2 from a shell command.

Since the project itself states

> Please ensure you download a versioned archive from:
> https://github.com/libconfuse/libconfuse/releases/

simply switch this recipe to using release archives and thus simplify it
and fix the automake issue.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 14:16:20 -07:00
Enrico Jörns 2f95897a63 libconfuse: replace DESCRIPTION by SUMMARY
DESCRIPTION will default to SUMMARY, but not the other way round.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 14:16:20 -07:00
Enrico Jörns d88ae3885f libconfuse: provide native and nativesdk support
Allows to use libconfuse in native tools like 'genimage'.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 14:16:20 -07:00
Enrico Jörns eeda4f91bb libconfuse: move to meta-oe
This prepares for using libconfuse for the 'genimage' recipe which
should reside in meta-oe.

Also libftdi (which is in meta-oe already) optionally requires
libconfuse when PACKAGECONFIG option 'ftdi-eeprom' is enabled.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 14:16:20 -07:00