diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-02-23 17:32:04 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-02-23 17:32:04 +0000 |
commit | 623825103e17a975f36854b362f17f8d26557828 (patch) | |
tree | ea2d52a4264b2bdbee20d394b449610bb7f75e48 /include/package-defaults.mk | |
parent | f587bacc264012658b9f629300cc9a46100c2e5a (diff) | |
download | mtk-20170518-623825103e17a975f36854b362f17f8d26557828.zip mtk-20170518-623825103e17a975f36854b362f17f8d26557828.tar.gz mtk-20170518-623825103e17a975f36854b362f17f8d26557828.tar.bz2 |
build: allow packages to declare ABI versions to detect necessary package rebuilds
If a package directly depends on another package that recently changed
its ABI version, it will be cleaned up and rebuilt (assuming quilt is
not used).
This helps with packages that have no stable ABI, e.g. libubox, ubus,
etc.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39720
Diffstat (limited to 'include/package-defaults.mk')
-rw-r--r-- | include/package-defaults.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/package-defaults.mk b/include/package-defaults.mk index 0505a43..62ccbb9 100644 --- a/include/package-defaults.mk +++ b/include/package-defaults.mk @@ -32,6 +32,7 @@ define Package/Default else VERSION:=$(PKG_RELEASE) endif + ABI_VERSION:= ifneq ($(PKG_FLAGS),) PKGFLAGS:=$(PKG_FLAGS) else |