summaryrefslogtreecommitdiff
path: root/tools/power/acpi/Makefile.rules
diff options
context:
space:
mode:
Diffstat (limited to 'tools/power/acpi/Makefile.rules')
-rw-r--r--tools/power/acpi/Makefile.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/power/acpi/Makefile.rules b/tools/power/acpi/Makefile.rules
index 2a6c170b57cd..1d7616f5d0ae 100644
--- a/tools/power/acpi/Makefile.rules
+++ b/tools/power/acpi/Makefile.rules
@@ -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)