mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-27 07:23:30 +08:00
package/pkg-kconfig: cleanup savedefconfig MAKE
The kconfig infra defines a 'PKG_KCONFIG_MAKE' var that wraps all the
standard kconfig options. Switch to this so we aren't duplicating the
logic.
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 009d31b438
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
36617cbcfe
commit
330edde813
@ -33,8 +33,7 @@ PKG_KCONFIG_COMMON_OPTS = \
|
||||
# Macro to save the defconfig file
|
||||
# $(1): the name of the package in upper-case letters
|
||||
define kconfig-package-savedefconfig
|
||||
$($(1)_MAKE_ENV) $($(1)_MAKE) -C $($(1)_DIR) \
|
||||
$(PKG_KCONFIG_COMMON_OPTS) $($(1)_KCONFIG_OPTS) savedefconfig
|
||||
$($(1)_KCONFIG_MAKE) savedefconfig
|
||||
endef
|
||||
|
||||
# The correct way to regenerate a .config file is to use 'make olddefconfig'.
|
||||
|
Loading…
Reference in New Issue
Block a user