diff options
author | Andre Heider <a.heider@gmail.com> | 2023-02-02 19:20:42 +0100 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-03-21 18:28:18 +0100 |
commit | 0a44c579a1ab3f699ad84728cc6cde78c99ba1d1 (patch) | |
tree | a2d029f48d6270856a3320e86036945090573b4e /package/devel | |
parent | eb564690c995b284204aa762c0f77f3064419a9c (diff) | |
download | upstream-0a44c579a1ab3f699ad84728cc6cde78c99ba1d1.tar.gz upstream-0a44c579a1ab3f699ad84728cc6cde78c99ba1d1.tar.bz2 upstream-0a44c579a1ab3f699ad84728cc6cde78c99ba1d1.zip |
build: introduce PKG_BUILD_FLAGS and move PKG_IREMAP to it
PKG_BUILD_FLAGS is a new variable for package Makefiles similar to
PKG_FLAGS. It's a whitespace separated list of flags to control various
aspects of how a package is build.
The build system and/or .config defines the default for each, but
every package has the means to override it. Using $flagname enables
a flag, no-$flagname disables it.
Start with PKG_IREMAP as "iremap". That's easy as no package here
nor in any package feed uses it. The default is unchanged: enabled.
Packages can opt-out via:
PKG_BUILD_FLAGS:=no-iremap
(Not that any should, just to illustrate how to use it)
Signed-off-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'package/devel')
0 files changed, 0 insertions, 0 deletions