On Tue, Nov 15, 2016 at 12:27 PM, Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote: > On Thu, Nov 3, 2016 at 5:04 PM, Zheng, Lv <lv.zheng@xxxxxxxxx> wrote: >>> On Sun, Oct 30, 2016 at 9:04 AM, Zheng, Lv <lv.zheng@xxxxxxxxx> wrote: > >>> >> > > Please try this patch: >>> >> > > https://patchwork.kernel.org/patch/9392155/ >>> >> > > Which makes tools/power/acpi build more robust to survive toolchains that are not generated >>> from >>> >> the >>> >> > current kernel header. Okay, I did a totally clean build (latest linux-next kernel and buildroot) without mention patch and still see the issue described below: > But reveals another, the output path is broken: > > output/host/usr/bin/i586-buildroot-linux-uclibc-gcc -c -D_LINUX -I > $OUT/include -I $SRC/tools/power/acpi/../../../drivers/acpi/acpica > -Wall -Wst > rict-prototypes -Wdeclaration-after-statement -O1 -g -DDEBUG > -DACPI_APPLICATION -DACPI_SINGLE_THREAD -DACPI_DEBUGG > ER -I. -o $OUT/tools/acpidbg/acpidbg.o acpidbg.c > Assembler messages: > Fatal error: can't create $OUT/tools/acpidbg/acpidbg.o: No such file > or directory > ../../Makefile.rules:26: recipe for target '$OUT/tools/acpidbg/acpidbg.o' failed > > $OUT — path to O= > $SRC — path to kernel sources >From latest run output/host/usr/bin/i586-buildroot-linux-uclibc-gcc -c -D_LINUX -I $OUT/include -I $SRC/tools/power/acpi/../../../drivers/acpi/acpica -Wall -Wst rict-prototypes -Wdeclaration-after-statement -O1 -g -DDEBUG -DACPI_APPLICATION -DACPI_SINGLE_THREAD -DACPI_DEBUGG ER -I. -o $OUT/tools/acpidbg/acpidbg.o acpidbg.c Of course it fails since proper folder name should be 'tools/power/acpi/tools' instead of 'tools'. -- With Best Regards, Andy Shevchenko -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html