[PATCH v5 07/15] build: put object files into build/ folder

Johannes Berg johannes at sipsolutions.net
Fri Sep 18 05:23:13 EDT 2020


On Thu, 2020-09-10 at 00:03 +0200, Johannes Berg wrote:

> --- /dev/null
> +++ b/src/objs.mk
> @@ -0,0 +1,3 @@
> +$(_OBJS_VAR) := $(call BUILDOBJ,$($(_OBJS_VAR)))
> +-include $($(1):%.o=%.d)
> +_DIRS += $(dir $($(_OBJS_VAR)))
> 

That include, quite obviously, needs to be

-include $($(_OBJS_VAR):%.o=%.d)

since it's not a macro/function anymore.

johannes




More information about the Hostap mailing list