[LEDE-DEV] [PATCH] build: Fix unpacking of overlaid packages

Michal Sojka sojkam1 at fel.cvut.cz
Fri Mar 17 15:54:31 PDT 2017


On Fri, Mar 17 2017, Michal Sojka wrote:
> Since commit 5af113eb7c0f6e4b2d09e536e1a2adc4e2d6071d, LEDE's build
> system contains overlay functionality, which allows to locally amend
> properties of packages. When one wants to overlay certain properties
> such as PKG_VERSION, the unpack command (UNPACK_CMD) uses the original
> value rather than the overlaid one and unpacking fails.

Hmm, there are more places where is this overlay functionality broken.
I'll send another patch that makes it work for me, but there are places,
which cannot be fixed that easy. One of them is the -iremap CFLAG, which
is appended to TARGET_CFLAGS with "+=" operator, which expands to the
non-overlaid path.

-Michal



More information about the Lede-dev mailing list