diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk index d94041de24..d0fcdd4e1d 100644 --- a/package/pkg-utils.mk +++ b/package/pkg-utils.mk @@ -167,8 +167,9 @@ endef clean-json = $(strip \ $(subst $(comma)},}, $(subst $(comma)$(space)},$(space)}, \ $(subst $(comma)],], $(subst $(comma)$(space)],$(space)], \ + $(subst \,\\, \ $(strip $(1)) \ - )))) \ + ))))) \ ) ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y)