From: David Howells <dhowells@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: uclinux-dev@uclinux.org
Subject: Re: [PATCH 4/5] NOMMU: Make POSIX shmem work on ramfs-backed files
Date: Fri, 10 Dec 2004 14:28:00 +0000 [thread overview]
Message-ID: <27481.1102688880@redhat.com> (raw)
In-Reply-To: <200412100408.33482.ioe@axxeo.de>
Ingo Oeser <ioe@axxeo.de> wrote:
> What about this pattern instead:
>
> file-mmu-y := file-mmu.o
> file-mmu-n := file-nommu.o
> file-mmu- := file-nommu.o
> ramfs-objs += file-mmu-$(CONFIG_MMU)
>
> Requires more work while writing it, but removes the ifeq,
> which should be avoided in makefiles as hell
Your suggestion adds duplicate information. This solution is worse than the
thing you're trying to fix.
Do we really need both the file-mmu-n and file-mmu- variants?
Actually, this would probably do instead:
file-mmu-y := file-nommu.o
file-mmu-$(CONFIG_MMU) := file-mmu.o
ramfs-objs := inode.o file-mmu-y
Will this work? Or should it be $(file-mmu-y) on the last line?
David
next prev parent reply other threads:[~2004-12-10 14:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-09 15:08 [PATCH 1/5] NOMMU: MM cleanups dhowells
2004-12-09 15:08 ` [PATCH 3/5] NOMMU: mmap fixes and extensions dhowells
2004-12-09 15:08 ` [PATCH 2/5] NOMMU: High-order page management overhaul dhowells
2004-12-09 15:08 ` [PATCH 4/5] NOMMU: Make POSIX shmem work on ramfs-backed files dhowells
2004-12-10 3:08 ` Ingo Oeser
2004-12-10 14:28 ` David Howells [this message]
2004-12-10 17:23 ` Ingo Oeser
2004-12-09 15:08 ` [PATCH 5/5] NOMMU: Futher nommu shared memory support dhowells
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=27481.1102688880@redhat.com \
--to=dhowells@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=uclinux-dev@uclinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox