Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 13 Aug 2013 21:16:21 -0400
From: Rich Felker <>
Subject: Re: Build system adjustments for subarchs

On Tue, Aug 13, 2013 at 09:06:17PM -0400, Rich Felker wrote:
> Another idea, using the filesystem, would be to have .sub files in the
> asm directories containing the filename of a different asm file to
> substitute. This is essentially emulating symlinks, but I don't see a
> good way to get make to do automated dependency tracking so that
> modifying the pointed-to asm file causes the object file to be
> rebuilt. I am exploring this approach further however in hopes that
> there might be a way.
> Any other ideas?

One further idea I sort of like:

-include arch/$(ARCH)/subarchs.mak

and coming up with a halfway-clean way, in subarchs.mak, to put rules
that override the asm files that get used for particular modules.
However, I'm not seeing a really clean way to do that. I don't want to
end up duplicating the commands for assembling into files other than
the main makefile.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.