Commit 0161a94e2d1c7 ("tools: gpio: Correctly add make dependencies for gpio_utils") added a make rule for gpio-utils-in.o but used $(output) instead of the correct $(OUTPUT) for the output directory, breaking out-of-tree build (O=xx) with the following error: No rule to make target 'out/tools/gpio/gpio-utils-in.o', needed by 'out/tools/gpio/lsgpio-in.o'. Stop. Fix that.
Unified · Split
| @@ -35,7 +35,7 @@ $(OUTPUT)include/linux/gpio.h: ../../include/uapi/linux/gpio.h · 34 unmodified lines | ||
| 35 | 35 | |
| 36 | 36 | prepare: $(OUTPUT)include/linux/gpio.h |
| 37 | 37 | |
| 38 | −GPIO_UTILS_IN := $(output)gpio-utils-in.o | |
| 38 | +GPIO_UTILS_IN := $(OUTPUT)gpio-utils-in.o | |
| 39 | 39 | $(GPIO_UTILS_IN): prepare FORCE |
| 40 | 40 | $(Q)$(MAKE) $(build)=gpio-utils |
| 41 | 41 | |