Repository navigation
giflib: add host build - #31250
giflib: add host build#31250dangowrt wants to merge 1 commit into
Conversation
Needed to build Kodi's TexturePacker host tool. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Formality Check: Suggestions AvailableWe checked this pull request against the contribution guidelines. Here is what needs your attention:
|
|
|
||
| define Host/Compile | ||
| +$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) \ | ||
| CFLAGS="$(HOST_CFLAGS) -fPIC" \ |
There was a problem hiding this comment.
nit (optional, non-blocking): the target side uses $(FPIC); the host counterpart is HOST_FPIC at rules.mk:116 rather than a hardcoded flag.
| CFLAGS="$(HOST_CFLAGS) -fPIC" \ | |
| CFLAGS="$(HOST_CFLAGS) $(HOST_FPIC)" \ |
Generated by Claude Code
📦 Package Details
Maintainer: none listed in the package
MakefileDescription:
Adds a host build of giflib: the static and shared library and its header, installed into the host staging directory, with the documentation left out. Kodi's TexturePacker, a host tool that packs a skin's images into texture bundles at build time, reads GIF images through it. The Kodi package that needs it is being prepared for openwrt/video; the target packages are unchanged, so
PKG_RELEASEstays.LLM use: this description was written with an LLM coding agent working under my direction, which also ran the build check below.
🔬 Run Testing Details
make package/giflib/host/compileandmake package/giflib/compilefor both targets; Kodi 22's TexturePacker builds and links against the host library in the Kodi image build for both.✅ Formalities
messages.
If your PR contains a patch:
git amThe PR contains no patch.