mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 15:49:42 -04:00
Merge tag 'acpi-5.16-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull ACPI fix from Rafael Wysocki: "Create the output directory for the ACPI tools during build if it has not been present before and prevent the compilation from failing in that case (Chen Yu)" * tag 'acpi-5.16-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: ACPI: tools: Fix compilation when output directory is not present
This commit is contained in:
@@ -69,6 +69,7 @@ KERNEL_INCLUDE := $(OUTPUT)include
|
||||
ACPICA_INCLUDE := $(srctree)/../../../drivers/acpi/acpica
|
||||
CFLAGS += -D_LINUX -I$(KERNEL_INCLUDE) -I$(ACPICA_INCLUDE)
|
||||
CFLAGS += $(WARNINGS)
|
||||
MKDIR = mkdir
|
||||
|
||||
ifeq ($(strip $(V)),false)
|
||||
QUIET=@
|
||||
|
||||
@@ -21,6 +21,7 @@ $(KERNEL_INCLUDE):
|
||||
|
||||
$(objdir)%.o: %.c $(KERNEL_INCLUDE)
|
||||
$(ECHO) " CC " $(subst $(OUTPUT),,$@)
|
||||
$(QUIET) $(MKDIR) -p $(objdir) 2>/dev/null
|
||||
$(QUIET) $(CC) -c $(CFLAGS) -o $@ $<
|
||||
|
||||
all: $(OUTPUT)$(TOOL)
|
||||
|
||||
Reference in New Issue
Block a user