Skip to content
Snippets Groups Projects
  1. Dec 08, 2021
    • Chen Yu's avatar
      ACPI: tools: Fix compilation when output directory is not present · 11f8cb89
      Chen Yu authored
      
      Compiling the ACPI tools when output directory parameter is specified,
      but the output directory is not present, triggers the following error:
      
      make O=/data/test/tmp/ -C tools/power/acpi/
      
      make: Entering directory '/data/src/kernel/linux/tools/power/acpi'
        DESCEND tools/acpidbg
      make[1]: Entering directory '/data/src/kernel/linux/tools/power/acpi/tools/acpidbg'
        MKDIR    include
        CP       include
        CC       tools/acpidbg/acpidbg.o
      Assembler messages:
      Fatal error: can't create /data/test/tmp/tools/power/acpi/tools/acpidbg/acpidbg.o: No such file or directory
      make[1]: *** [../../Makefile.rules:24: /data/test/tmp/tools/power/acpi/tools/acpidbg/acpidbg.o] Error 1
      make[1]: Leaving directory '/data/src/kernel/linux/tools/power/acpi/tools/acpidbg'
      make: *** [Makefile:18: acpidbg] Error 2
      make: Leaving directory '/data/src/kernel/linux/tools/power/acpi'
      
      which occurs because the output directory has not been created yet.
      
      Fix this issue by creating the output directory before compiling.
      
      Reported-by: default avatarAndy Shevchenko <andriy.shevchenko@intel.com>
      Signed-off-by: default avatarChen Yu <yu.c.chen@intel.com>
      Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      [ rjw: New subject, changelog edits ]
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      11f8cb89
  2. Jun 18, 2021
  3. May 05, 2021
  4. May 04, 2021
  5. Apr 07, 2021
  6. Mar 25, 2021
  7. Mar 22, 2021
  8. Feb 08, 2021
  9. Feb 03, 2021
  10. Jan 26, 2021
Loading