diff --git a/util/nvramtool/Makefile.inc b/util/nvramtool/Makefile.inc index 48f6d86557..697428906e 100644 --- a/util/nvramtool/Makefile.inc +++ b/util/nvramtool/Makefile.inc @@ -36,8 +36,7 @@ NVRAMTOOLLDFLAGS += -lregex -lwsock32 nvramtoolobj += win32mmap.o endif -$(objutil)/nvramtool $(objutil)/nvramtool/accessors $(objutil)/nvramtool/cli: - mkdir -p $@ +additional-dirs += $(objutil)/nvramtool/accessors $(objutil)/nvramtool/cli $(objutil)/nvramtool/%.o: $(top)/util/nvramtool/%.c printf " HOSTCC $(subst $(objutil)/,,$(@))\n"