In Yocto, there is a concept called PREFERRED_VERSION
, to specify the recipe to be picked up for build, provided multiple versions of the recipe are there.
Likewise, in OpenWRT, I am trying to overwrite the existing package (say V1.0, which is part of existing feed), with a new package (renamed, say V1.2, part of my custom feed). I am doing so by creating dependency to compile V1.2 after 1.0, by using PKG_BUILD_DEPENDS
in my custom package.
But I am looking for other ways to do it, without having to build the V1.0 itself and choosing V1.2 over it. Similar to Yocto's PREFERRED_VERSION
.
Thanks.