Hi,

On Saturday, 8 June 2024 10:31:39 CEST Salvatore Bonaccorso wrote:
> here is the start of the thread to collect potential
> agenda points for the next meeting.

I'd like to propose the following item:
- Adapting the Debian build scripts for the tools build framework

In the upstream `tools` dir there are a number of `Build` files which seem to 
be part of the tools build framework.
They look a lot like `Makefile`, but apparently are a bit different?

It became an actual problem when working on 6.10-rcX due to this commit:
82b0945ce2c2 ("tools: hv: Add new fcopy application based on uio driver")

IIUC, the `Build` file tells the build system to build `vmbus_bufring.o` (which 
is needed for `hv_fcopy_uio_daemon`), but that is not part of the `Makefile`.
So when I (or Salsa's CI) tries to build it, it fails as it doesn't have 
`vmbus_bufring.o`.

Rather then try to hack around to fix this specific problem, it would be better 
and more sustainable if the Debian build scripts were adapted so that it uses 
the (upstream) build framework (when needed).

https://salsa.debian.org/kernel-team/linux/-/merge_requests/1081 
titled "Update to 6.9.x" also contains the following commit:
"d/rules.d: rtla: Update Makefile for upstream restructuring"
which references the following upstream commit:
01474dc706ca ("tools/rtla: Use tools/build makefiles to build rtla")

I'm not saying it's wrong, but it was an adaptation for a kind of hack, so it 
may be  useful to take that into account as well.

Cheers,
  Diederik

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to