From 49f95629605ab60133ea9f7ba0f77c8bf29c8942 Mon Sep 17 00:00:00 2001 From: Brandon Maier Date: Mon, 29 Jul 2024 16:19:10 +0000 Subject: [PATCH] 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 Signed-off-by: Thomas Petazzoni (cherry picked from commit 009d31b438b2c402fa959a9041f5cc9b050a1f8f) Signed-off-by: Peter Korsgaard --- package/pkg-kconfig.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/pkg-kconfig.mk b/package/pkg-kconfig.mk index 684342bcef..8000de16c4 100644 --- a/package/pkg-kconfig.mk +++ b/package/pkg-kconfig.mk @@ -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'.