Skip to content

Commit 9e65da1

Browse files
committed
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
2 parents d46bca6 + 11f8cb8 commit 9e65da1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tools/power/acpi/Makefile.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ KERNEL_INCLUDE := $(OUTPUT)include
6969
ACPICA_INCLUDE := $(srctree)/../../../drivers/acpi/acpica
7070
CFLAGS += -D_LINUX -I$(KERNEL_INCLUDE) -I$(ACPICA_INCLUDE)
7171
CFLAGS += $(WARNINGS)
72+
MKDIR = mkdir
7273

7374
ifeq ($(strip $(V)),false)
7475
QUIET=@

tools/power/acpi/Makefile.rules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ $(KERNEL_INCLUDE):
2121

2222
$(objdir)%.o: %.c $(KERNEL_INCLUDE)
2323
$(ECHO) " CC " $(subst $(OUTPUT),,$@)
24+
$(QUIET) $(MKDIR) -p $(objdir) 2>/dev/null
2425
$(QUIET) $(CC) -c $(CFLAGS) -o $@ $<
2526

2627
all: $(OUTPUT)$(TOOL)

0 commit comments

Comments
 (0)