mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
package/pkg-kconfig: fix *-savedefconfig under ppd
The 'linux-savedefconfig' target fails with the below error when
PER_PACKAGE_DIRECTORIES is enabled and the 'host-finalize' target hasn't
run yet.
scripts/Kconfig.include:39: C compiler '.../buildroot/output/host/bin/arm-buildroot-linux-gnueabihf-gcc' not found
The 'PPD' variable isn't defined for this target, so 'BR_PATH' falls
back to the final host directory.
Reported-by: Nathaniel Roach <nroach44@gmail.com>
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit de11afaa34)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
5ff452936e
commit
37d815cbf4
@@ -270,6 +270,7 @@ $(1)-check-configuration-done:
|
||||
|
||||
ifeq ($$($(2)_KCONFIG_SUPPORTS_DEFCONFIG),YES)
|
||||
.PHONY: $(1)-savedefconfig
|
||||
$(1)-savedefconfig: PKG=$(2)
|
||||
$(1)-savedefconfig: $(1)-check-configuration-done
|
||||
$$(call kconfig-package-savedefconfig,$(2))
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user