dist: disable non kernel pkg on non default config

Upstream: no

Signed-off-by: Kairui Song <kasong@tencent.com>
This commit is contained in:
Kairui Song 2023-12-13 15:23:22 +08:00
parent 432d074030
commit 690dae3cfe
1 changed files with 4 additions and 0 deletions

4
dist/Makefile vendored
View File

@ -103,6 +103,10 @@ endif
# All params enabled by default (except kABI check, see below), ENABLED overrides DEFAULT_DISABLE.
DISABLED=$(DEFAULT_DISABLED)
ENABLED=$(DEFAULT_ENABLED)
# Automatically disable non core package for non standard build
ifneq ($(CONFIG),generic-release)
DISABLED=ofed bpftool perf tools
endif
## A few shortcut for commonly used params:
# Disable KABI check by default