[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0fcb6bfc-a5a5-47b8-a0b4-a9b3584ad2fe@intel.com>
Date: Wed, 3 Jul 2024 17:28:04 +0200
From: Przemek Kitszel <przemyslaw.kitszel@...el.com>
To: Stephen Hemminger <stephen@...workplumber.org>
CC: David Ahern <dsahern@...nel.org>, <netdev@...r.kernel.org>, Tony Nguyen
<anthony.l.nguyen@...el.com>, Lukasz Czapnik <lukasz.czapnik@...el.com>
Subject: Re: [PATCH iproute2-next 3/3] Makefile: support building from
subdirectories
On 7/3/24 17:16, Stephen Hemminger wrote:
> On Wed, 3 Jul 2024 15:15:21 +0200
> Przemek Kitszel <przemyslaw.kitszel@...el.com> wrote:
>
>> Support building also from subdirectories, like: `make -C devlink` or
>> `cd devlink; make`.
>>
>> Extract common defines and include flags to a new file (common.mk) which
>> will be included from subdir makefiles via the generated config.mk file.
>>
>> Note that the current, toplevel-issued, `make` still works as before.
>> Note that `./configure && make` is still required once after the fresh
>> checkout.
[1]
This last "Note" could be fixed too to have proper dependencies
(in example of devlink, lib should be build first for example), and it
works now only thanks to serialized builds in terms of SUBDIRS in top
level Makefile.
>>
>> Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@...el.com>
>
> Not sure if this really needed, it impacts more than devlink.
devlink is just an example here
This patch makes my development easier but it is not fixing [1]
above, so it's just a shortcut. You could drop this patch, let
me know if you will be interested in extending it to have [1] fixed.
Powered by blists - more mailing lists