[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240920123827.715ff109@kernel.org>
Date: Fri, 20 Sep 2024 12:38:27 +0200
From: Jakub Kicinski <kuba@...nel.org>
To: Shuah Khan <skhan@...uxfoundation.org>
Cc: Anders Roxell <anders.roxell@...aro.org>, shuah@...nel.org,
willemb@...gle.com, linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] selftests: Makefile: create OUTPUT dir
On Thu, 19 Sep 2024 09:51:47 -0600 Shuah Khan wrote:
> > @@ -261,6 +261,7 @@ ifdef INSTALL_PATH
> > @ret=1; \
> > for TARGET in $(TARGETS) $(INSTALL_DEP_TARGETS); do \
> > BUILD_TARGET=$$BUILD/$$TARGET; \
> > + mkdir -p $$BUILD_TARGET; \
> > $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET install \
> > INSTALL_PATH=$(INSTALL_PATH)/$$TARGET \
> > SRC_PATH=$(shell readlink -e $$(pwd)) \
>
> Doesn't the "all" target mkdir work for this case? Why do we need another mkdir here?
I was wondering about that, too. Looks like the code from the all
target is copy/pasted in the install target except the mkdir line.
Best fix would be to make the dependency work, I don't understand
why it doesn't already, tho.
Powered by blists - more mailing lists