[PATCH 00/39] Windows port, base and archival/
Jérémie Koenig
jk at jk.fr.eu.org
Sat Apr 17 21:21:38 UTC 2010
On Sat, Apr 17, 2010 at 9:48 PM, Nguyen Thai Ngoc Duy <pclouds at gmail.com> wrote:
> How about general features that do not depend on any applets? There
> are some features that won't be supported on Windows, should it be
> "depends on !PLATFORM_MINGW32" or "depends on PLATFORM_POSIX" for
> them?
Hi, I attach the solution I have been working on wrt. selecting
appropriate applets for Hurd. Though it's work in progress, you may
want to have a look and reuse some of it.
In short:
* the target OS is detected using preprocessor macros
* each OS defines HAVE_* on os/<system>/Config.in to enable the
relevant applets/options
I guess we might want to merge our two approaches: for instance your
TARGET_MINGW32 would cause HAVE_POSIX and HAVE_UNIX variables not to
be selected, and you could disable the remaining applets with "depends
on !TARGET_MINGW32". This would avoid lists of "!TARGET_X && !TARGET_Y
&& ..." as dependencies of innocent applets if more systems were to be
added.
Of course, in any case, I would update my stuff to match whatever is merged in.
--
Jérémie Koenig <jk at jk.fr.eu.org>
http://jk.fr.eu.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Include-os-specific-Makefile-and-Config.in-files.patch
Type: text/x-patch
Size: 4701 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20100417/79350d0c/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-add-HAVE_UNIX-and-HAVE_LINUX-for-system-dependant-ap.patch
Type: text/x-patch
Size: 14536 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20100417/79350d0c/attachment-0003.bin>
More information about the busybox
mailing list