re: CVS commit: src/share/mk

2014-01-31 Thread matthew green
Module Name: src Committed By: tsutsui Date: Fri Jan 31 18:17:27 UTC 2014 Modified Files: src/share/mk: bsd.own.mk Log Message: Switch ews4800mips and newsmips to Xorg server. There is ~no user of X11R6 Xservers except a few developers on these ports and Xorg wsfb

re: CVS commit: src/share/mk

2014-01-25 Thread matthew green
Do you have any suggestion without boring work to rename all #include machine/foo.h lines and expand the machine path in MI files to ${MACHINE}/include? I wish that cc/clang supported -isystem:NAME PATH and iquote:NAME PATH which would look starting at PATH for includes that start with

Re: CVS commit: src/share/mk

2014-01-24 Thread Izumi Tsutsui
Sorry that I was lost, but I still believe that creating-directories-as-make-target is to avoid. Do you have any suggestion without boring work to rename all #include machine/foo.h lines and expand the machine path in MI files to ${MACHINE}/include? Creating symlinks for stand programs has

Re: CVS commit: src/share/mk

2014-01-24 Thread Matt Thomas
On Jan 24, 2014, at 1:16 AM, Izumi Tsutsui tsut...@ceres.dti.ne.jp wrote: Do you have any suggestion without boring work to rename all #include machine/foo.h lines and expand the machine path in MI files to ${MACHINE}/include? I wish that cc/clang supported -isystem:NAME PATH and iquote:NAME

Re: CVS commit: src/share/mk

2014-01-24 Thread Warner Losh
On Jan 24, 2014, at 2:16 AM, Izumi Tsutsui wrote: Sorry that I was lost, but I still believe that creating-directories-as-make-target is to avoid. Do you have any suggestion without boring work to rename all #include machine/foo.h lines and expand the machine path in MI files to

Re: CVS commit: src/share/mk

2014-01-24 Thread Izumi Tsutsui
You could install them all into /usr/include/arch and make all the machine/*.h files look like: #include arch/ # MACHINE # /foo.h As mrg@ wrote, kernel (and all standalone) builds should not require installed DESTDIR. If we install them into OBJDIR dynamically, I guess we will get another

Re: CVS commit: src/share/mk

2014-01-24 Thread Greg Troxel
chris...@zoulas.com (Christos Zoulas) writes: On Jan 22, 7:29am, m...@3am-software.com (Matt Thomas) wrote: -- Subject: Re: CVS commit: src/share/mk | I always wondered why we don't use ln -sf=20 | and avoid the race. That does not work because if the destnation is a directory

Re: CVS commit: src/share/mk

2014-01-23 Thread Alan Barrett
On Tue, 21 Jan 2014, Matt Thomas wrote: Module Name:src Committed By: matt Date: Tue Jan 21 16:40:24 UTC 2014 Modified Files: src/share/mk: bsd.own.mk Log Message: Make MKGCCCMDS default mirror MKGCC. (if MKGCC is no, MKGCCCMDS must be no). If that's true, then

Re: CVS commit: src/share/mk

2014-01-23 Thread Taylor R Campbell
: CVS commit: src/share/mk | I always wondered why we don't use ln -sf | and avoid the race. That does not work because if the destnation is a directory it will try to link in the destination directory... (I tried). This is why I suggested that it needs to be done

Re: CVS commit: src/share/mk

2014-01-23 Thread Masao Uebayashi
Is this all about symlink-to-directory in an OBJDIR, right? My theory is that directory creation in OBJDIR is all wrong... Kernel build *should* include static headers in $DESTDIR (#include foo.h) or generated headers (#include foo.h) IMO.

Re: CVS commit: src/share/mk

2014-01-23 Thread Masao Uebayashi
Sorry that I was lost, but I still believe that creating-directories-as-make-target is to avoid. Is there any counter-example (use case) where it should be there? On Fri, Jan 24, 2014 at 1:30 AM, Izumi Tsutsui tsut...@ceres.dti.ne.jp wrote: Is this all about symlink-to-directory in an OBJDIR,

Re: CVS commit: src/share/mk

2014-01-23 Thread Izumi Tsutsui
Is this all about symlink-to-directory in an OBJDIR, right? My theory is that directory creation in OBJDIR is all wrong... Kernel build *should* include static headers in $DESTDIR (#include foo.h) or generated headers (#include foo.h) IMO. bsd.klinks.mk is used only for standalone programs

re: CVS commit: src/share/mk

2014-01-23 Thread matthew green
Module Name: src Committed By: christos Date: Wed Jan 22 15:19:05 UTC 2014 Modified Files: src/share/mk: bsd.klinks.mk Log Message: For now, ignore errors from creating klinks. This is racy and you can get it to trigger in 1/4 of the builds with -j 40 on a 24 processor

re: CVS commit: src/share/mk

2014-01-23 Thread matthew green
Is this all about symlink-to-directory in an OBJDIR, right? My theory is that directory creation in OBJDIR is all wrong... Kernel build *should* include static headers in $DESTDIR (#include foo.h) or generated headers (#include foo.h) IMO. the kernel build 100% does not and should not

Re: CVS commit: src/share/mk

2014-01-23 Thread Masao Uebayashi
How about kernel modules? On Fri, Jan 24, 2014 at 1:00 PM, matthew green m...@eterna.com.au wrote: Is this all about symlink-to-directory in an OBJDIR, right? My theory is that directory creation in OBJDIR is all wrong... Kernel build *should* include static headers in $DESTDIR (#include

re: CVS commit: src/share/mk

2014-01-23 Thread matthew green
How about kernel modules? exactly the same. our userland does not have anything useful for building kernel code. you _need_ the kernel source tree, and it is bascially self-contained in src/sys (sans the src/common problem we haven't fixed yet, and config(1).) this is very much by design.

Re: CVS commit: src/share/mk

2014-01-22 Thread J. Hannken-Illjes
On Jan 21, 2014, at 5:40 PM, Matt Thomas m...@netbsd.org wrote: Module Name: src Committed By: matt Date: Tue Jan 21 16:40:24 UTC 2014 Modified Files: src/share/mk: bsd.own.mk Log Message: Make MKGCCCMDS default mirror MKGCC. (if MKGCC is no, MKGCCCMDS must be no).

Re: CVS commit: src/share/mk

2014-01-22 Thread Christos Zoulas
On Jan 23, 3:11am, campbell+netbsd-source-change...@mumble.net (Taylor R Campbell) wrote: -- Subject: Re: CVS commit: src/share/mk |Date: Wed, 22 Jan 2014 13:15:44 -0500 |From: chris...@zoulas.com (Christos Zoulas) | |On Jan 22, 7:29am, m...@3am-software.com (Matt Thomas) wrote

Re: CVS commit: src/share/mk

2014-01-22 Thread Masao Uebayashi
I wonder if ln -sfh is portable? On Thu, Jan 23, 2014 at 12:23 PM, Christos Zoulas chris...@zoulas.com wrote: On Jan 23, 3:11am, campbell+netbsd-source-change...@mumble.net (Taylor R Campbell) wrote: -- Subject: Re: CVS commit: src/share/mk |Date: Wed, 22 Jan 2014 13:15:44 -0500

Re: CVS commit: src/share/mk

2014-01-22 Thread Christos Zoulas
On Jan 23, 12:59pm, uebay...@gmail.com (Masao Uebayashi) wrote: -- Subject: Re: CVS commit: src/share/mk | I wonder if ln -sfh is portable? I smell ${TOOL_LN}. christos

Re: CVS commit: src/share/mk

2014-01-22 Thread Alan Barrett
On Wed, 22 Jan 2014, Christos Zoulas wrote: On Jan 22, 7:29am, m...@3am-software.com (Matt Thomas) wrote: -- Subject: Re: CVS commit: src/share/mk | I always wondered why we don't use ln -sf=20 | and avoid the race. That does not work because if the destnation is a directory it will try

re: CVS commit: src/share/mk

2013-12-05 Thread matthew green
Module Name: src Committed By: matt Date: Thu Dec 5 22:51:08 UTC 2013 Modified Files: src/share/mk: bsd.own.mk Log Message: Add MACHINES.${MACHINE_CPU} values. cool. this should be useful. one update: - you can build sparc64 as sparc. and can you mention this in

Re: CVS commit: src/share/mk

2013-06-01 Thread David Holland
On Fri, May 03, 2013 at 06:42:30PM +0100, David Laight wrote: On Fri, May 03, 2013 at 03:55:22PM +, Matt Thomas wrote: Module Name: src Committed By: matt Date: Fri May 3 15:55:22 UTC 2013 Modified Files: src/share/mk: bsd.own.mk Log

Re: CVS commit: src/share/mk

2013-05-03 Thread David Laight
On Fri, May 03, 2013 at 03:55:22PM +, Matt Thomas wrote: Module Name: src Committed By: matt Date: Fri May 3 15:55:22 UTC 2013 Modified Files: src/share/mk: bsd.own.mk Log Message: Use !empty(MACHINE_ARCH:Mearm*) instead of ${MACHINE_ARCH:Mearm*} != Any reason?

Re: CVS commit: src/share/mk

2013-05-03 Thread Christos Zoulas
In article 20130503174230.gp24...@snowdrop.l8s.co.uk, David Laight da...@l8s.co.uk wrote: On Fri, May 03, 2013 at 03:55:22PM +, Matt Thomas wrote: Module Name: src Committed By:matt Date:Fri May 3 15:55:22 UTC 2013 Modified Files: src/share/mk: bsd.own.mk

Re: CVS commit: src/share/mk

2013-04-11 Thread Christos Zoulas
On Apr 11, 11:29am, sk...@netbsd.org (Nick Hudson) wrote: -- Subject: Re: CVS commit: src/share/mk | Does it work? :) Yes, for me. | Maybe change the log message? I already did. christos

Re: CVS commit: src/share/mk

2013-03-21 Thread Christos Zoulas
In article 20130321052513.gb4...@britannica.bec.de, Joerg Sonnenberger jo...@britannica.bec.de wrote: On Wed, Mar 20, 2013 at 09:48:15PM -0400, Christos Zoulas wrote: Module Name: src Committed By:christos Date:Thu Mar 21 01:48:15 UTC 2013 Modified Files:

Re: CVS commit: src/share/mk

2013-01-20 Thread Aleksej Saushev
Christos Zoulas chris...@netbsd.org writes: Module Name: src Committed By: christos Date: Thu Jan 17 15:42:59 UTC 2013 Modified Files: src/share/mk: bsd.prog.mk Log Message: Now that we have separate debug sets, add -g if ${MKDEBUG} is set for program builds since we

Re: CVS commit: src/share/mk

2013-01-20 Thread Christos Zoulas
In article 87fw1vob1m@inbox.ru, Aleksej Saushev a...@inbox.ru wrote: Christos Zoulas chris...@netbsd.org +.endif OBJCFLAGS+= ${OBJCOPTS} MKDEP_SUFFIXES?=.o .ln Well... What about DBG? Now it isn't clear what the difference between DBG, COPTS, and CFLAGS is at all. We cannot use

Re: CVS commit: src/share/mk

2012-12-11 Thread Alan Barrett
On Mon, 10 Dec 2012, Antti Kantee wrote: +# If the toolchain does not know about a file, --print-file-name echoes +# the input file name (why??). In that case we want an empty string for +# dependencies to work correctly. Note: do _not_ use TOOL_SED here because +# this file is used before

Re: CVS commit: src/share/mk

2012-12-10 Thread Antti Kantee
On 11.12.2012 00:25, matthew green wrote: Module Name:src Committed By: pooka Date: Mon Dec 10 20:58:55 UTC 2012 Modified Files: src/share/mk: bsd.gcc.mk Log Message: Deal with crti and crtn not present in some EXTERNAL_TOOLCHAIN's. Also, handle missing crtstuff

re: CVS commit: src/share/mk

2012-12-10 Thread matthew green
On 11.12.2012 00:25, matthew green wrote: Module Name: src Committed By: pooka Date: Mon Dec 10 20:58:55 UTC 2012 Modified Files: src/share/mk: bsd.gcc.mk Log Message: Deal with crti and crtn not present in some EXTERNAL_TOOLCHAIN's. Also, handle

Re: CVS commit: src/share/mk

2012-12-10 Thread David Laight
On Tue, Dec 11, 2012 at 09:25:38AM +1100, matthew green wrote: Module Name:src Committed By: pooka Date: Mon Dec 10 20:58:55 UTC 2012 Modified Files: src/share/mk: bsd.gcc.mk Log Message: Deal with crti and crtn not present in some

Re: CVS commit: src/share/mk

2012-08-13 Thread David Holland
On Fri, Aug 10, 2012 at 04:34:23PM +, Joerg Sonnenberger wrote: Modified Files: src/share/mk: bsd.kmodule.mk Log Message: Remove effectively tautological condition. I object to this sort of change. There are a number of other compilers we might want to try sometime; all you're

Re: CVS commit: src/share/mk

2011-10-17 Thread Iain Hibbert
On Sun, 16 Oct 2011, Marc Balmer wrote: Modified Files: src/share/mk: bsd.lua.mk Log Message: Uncomment LUA_DPLIBS processing, but do not auto-include liblua.so, under the assumption that programs that load Lua modules already have loaded it. Regarding this (which I have discussed

Re: CVS commit: src/share/mk

2011-10-17 Thread Joerg Sonnenberger
On Mon, Oct 17, 2011 at 07:07:08PM +0100, Iain Hibbert wrote: Regarding this (which I have discussed with Marc off-list previously), I think a Lua module should always depend on liblua.so as there will be calls to functions from there, though I guess Marc is correct that the binary loading the

Re: CVS commit: src/share/mk

2011-09-11 Thread Alan Barrett
On Sun, 11 Sep 2011, Marc Balmer wrote: Log Message: Install new shiny bsd.clean.mk Thanks. I updated the set lists. --apb (Alan Barrett)

Re: CVS commit: src/share/mk

2011-05-19 Thread Adam CiarciƄski
Done. Please, commit your patch, or I won't be able to enjoy Clang. ;) Cheers, Adam Please back this out. I have a proper patch for this on tech-toolchain. Joerg On Wed, May 18, 2011 at 01:08:15PM +, Adam Ciarcinski wrote: Module Name: src Committed By:adam Date:

Re: CVS commit: src/share/mk

2011-05-18 Thread Joerg Sonnenberger
Please back this out. I have a proper patch for this on tech-toolchain. Joerg On Wed, May 18, 2011 at 01:08:15PM +, Adam Ciarcinski wrote: Module Name: src Committed By: adam Date: Wed May 18 13:08:14 UTC 2011 Modified Files: src/share/mk: bsd.own.mk Log Message:

re: CVS commit: src/share/mk

2011-04-17 Thread matthew green
Module Name: src Committed By: tron Date: Sun Apr 17 12:54:23 UTC 2011 Modified Files: src/share/mk: bsd.own.mk Log Message: Don't use --sysroot=/ for host builds as nbhost-mkdep doesn't understand that option. This should unbreak tool builds. hmm, i haven't seen this

Re: CVS commit: src/share/mk

2011-04-17 Thread Matthias Scheler
On Sun, Apr 17, 2011 at 11:34:26PM +1000, matthew green wrote: Log Message: Don't use --sysroot=/ for host builds as nbhost-mkdep doesn't understand that option. This should unbreak tool builds. hmm, i haven't seen this problem. what failed for you? ./build -O /path/to/obj -u -U -j 8 -x

Re: CVS commit: src/share/mk

2011-04-17 Thread Matthias Scheler
On Sun, Apr 17, 2011 at 11:03:37AM -0400, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Sun Apr 17 15:03:37 UTC 2011 Modified Files: src/share/mk: bsd.own.mk Log Message: Revert previous, breaks builds completely (cd /usr/src/bin/test make clean

Re: CVS commit: src/share/mk

2011-04-17 Thread Matthias Scheler
On Sun, Apr 17, 2011 at 07:04:05PM +0100, Matthias Scheler wrote: You have now broken the tools build again: === build.sh command:./build.sh -O /export/scratch/tron/obj -u -U -x tools [...] Some testing revealed that this only happens if you MKDTRACE is set to yes. So please try this

Re: CVS commit: src/share/mk

2011-04-17 Thread Christos Zoulas
On Apr 17, 7:04pm, t...@zhadum.org.uk (Matthias Scheler) wrote: -- Subject: Re: CVS commit: src/share/mk | Can you please fix that? I made mkdep understand --sysroot but ignore it. christos

Re: CVS commit: src/share/mk

2011-04-17 Thread Christos Zoulas
On Apr 17, 9:55pm, t...@zhadum.org.uk (Matthias Scheler) wrote: -- Subject: Re: CVS commit: src/share/mk | On Sun, Apr 17, 2011 at 07:04:05PM +0100, Matthias Scheler wrote: | You have now broken the tools build again: | | === build.sh command:./build.sh -O /export/scratch/tron/obj -u -U

Re: CVS commit: src/share/mk

2011-04-17 Thread Joerg Sonnenberger
On Sat, Apr 16, 2011 at 05:41:25PM -0400, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Sat Apr 16 21:41:25 UTC 2011 Modified Files: src/share/mk: bsd.own.mk Log Message: Simplify and correct (previous did not work for !defined(DESTDIR) You are

Re: CVS commit: src/share/mk

2011-04-17 Thread Joerg Sonnenberger
On Sat, Apr 16, 2011 at 06:45:23PM -0400, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Sat Apr 16 22:45:23 UTC 2011 Modified Files: src/share/mk: bsd.own.mk Log Message: Need --sysroot=/ otherwise ld does not find crt0.o and friends. What exactly

Re: CVS commit: src/share/mk

2011-04-10 Thread Christoph Egger
On 10.04.11 23:03, Joerg Sonnenberger wrote: Module Name: src Committed By: joerg Date: Sun Apr 10 21:03:17 UTC 2011 Modified Files: src/share/mk: bsd.own.mk Log Message: Use ?: operator to determine when to add --sysroot. Unbreaks clang bootstrap. [...]

Re: CVS commit: src/share/mk

2011-04-10 Thread David Holland
On Sun, Apr 10, 2011 at 11:25:50PM +0200, Christoph Egger wrote: [...] ${[...foo...] :? --sysroot=${DESTDIR} :} ^ ^ :? == ?: operator? no, see above. -- David A. Holland dholl...@netbsd.org

Re: CVS commit: src/share/mk

2011-03-07 Thread Masao Uebayashi
On Mon, Mar 07, 2011 at 07:05:04PM +, Julio Merino wrote: Module Name: src Committed By: jmmv Date: Mon Mar 7 19:05:04 UTC 2011 Modified Files: src/share/mk: bsd.prog.mk Log Message: Always convert PROG to its plural form independently of whether PROG_CXX is defined

Re: CVS commit: src/share/mk

2011-02-13 Thread David Holland
On Sun, Feb 13, 2011 at 08:38:06AM +0100, Alistair Crooks wrote: Modified Files: src/share/mk: bsd.prog.mk Log Message: add saslc [...] I've been left wondering about POLA, and why we're adding LIB* definitions to bsd.prog.mk - it doesn't seem the right *.mk file for

Re: CVS commit: src/share/mk

2011-02-13 Thread David Holland
On Mon, Jan 17, 2011 at 12:50:04PM +0100, Joerg Sonnenberger wrote: Modified Files: src/share/mk: sys.mk Log Message: Alpha doesn't need -traditional-cpp for assembler. Shouldn't that logic be in bsd.own.mk and not sys.mk? The .S rules are in sys.mk and it is

Re: CVS commit: src/share/mk

2011-02-12 Thread Alistair Crooks
On Sat, Feb 12, 2011 at 07:42:46PM -0500, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Sun Feb 13 00:42:45 UTC 2011 Modified Files: src/share/mk: bsd.prog.mk Log Message: add saslc Thanks for looking after libsaslc, and the integration with

Re: CVS commit: src/share/mk

2011-01-16 Thread David Holland
On Sun, Jan 16, 2011 at 07:30:00PM +, Joerg Sonnenberger wrote: Modified Files: src/share/mk: sys.mk Log Message: Alpha doesn't need -traditional-cpp for assembler. Shouldn't that logic be in bsd.own.mk and not sys.mk? -- David A. Holland dholl...@netbsd.org

Re: CVS commit: src/share/mk

2010-12-14 Thread Antti Kantee
On Tue Dec 14 2010 at 01:52:50 +0100, Joerg Sonnenberger wrote: On Mon, Dec 13, 2010 at 05:22:26PM +, Antti Kantee wrote: Module Name:src Committed By: pooka Date: Mon Dec 13 17:22:26 UTC 2010 Modified Files: src/share/mk: bsd.own.mk bsd.prog.mk

Re: make rule of multiple file generation (was Re: CVS commit: src/share/mk)

2009-12-13 Thread Christos Zoulas
On Dec 12, 3:14pm, uebay...@tombi.co.jp (Masao Uebayashi) wrote: -- Subject: make rule of multiple file generation (was Re: CVS commit: src/sh | (Moved from source-change...@netbsd.org.) | | Actually I am interested. You just did not present your solution in | tech-whatever so I did not have

Re: make rule of multiple file generation (was Re: CVS commit: src/share/mk)

2009-12-13 Thread Christos Zoulas
On Dec 14, 9:13am, uebay...@tombi.co.jp (Masao Uebayashi) wrote: -- Subject: Re: make rule of multiple file generation (was Re: CVS commit: sr | | % cd bin/sh | | % cvs up -D20091201 | | % nbmake-XXX -n sh | | Ok, this is fixed now (in bsd.sys.mk). What else is broken? | | %

Re: make rule of multiple file generation (was Re: CVS commit: src/share/mk)

2009-12-13 Thread Christos Zoulas
On Dec 14, 11:40am, uebay...@tombi.co.jp (Masao Uebayashi) wrote: -- Subject: Re: make rule of multiple file generation (was Re: CVS commit: sr | This has nothing to do with yacc; the rules in that Makefile are wrong. | | instead of: | | nodes.h: nodes.c | nodes.c: mknodes.sh

Re: make rule of multiple file generation (was Re: CVS commit: src/share/mk)

2009-12-13 Thread Masao Uebayashi
So this is fixed with an additional dependency to force serialization, or by fixing the script not to re-use the same temp filenames: nodes.h: nodes.c nodes.c nodes.h: mknodes.sh nodetypes nodes.c.pat ${_MKTARGET_CREATE} ${SCRIPT_ENV} ${HOST_SH} ${.ALLSRC:S/^nodes.c$//}

Re: make rule of multiple file generation (was Re: CVS commit: src/share/mk)

2009-12-13 Thread Christos Zoulas
On Dec 14, 12:41pm, uebay...@tombi.co.jp (Masao Uebayashi) wrote: -- Subject: Re: make rule of multiple file generation (was Re: CVS commit: sr | So this is fixed with an additional dependency to force serialization, | or by fixing the script not to re-use the same temp filenames: | |

Re: make rule of multiple file generation (was Re: CVS commit: src/share/mk)

2009-12-13 Thread Masao Uebayashi
Yes, it adds more explicit rules... My vote is to remove it and fix the Makefiles/scripts that are broken. It is pretty straight-forward. Now I'm fine with nuking GENCMD and fix rules using .ORDER:. Please go for it. It'd be also nice if all instances are rewritten to look an idiom, like:

Re: make rule of multiple file generation (was Re: CVS commit: src/share/mk)

2009-12-13 Thread Christos Zoulas
On Dec 14, 1:09pm, uebay...@tombi.co.jp (Masao Uebayashi) wrote: -- Subject: Re: make rule of multiple file generation (was Re: CVS commit: sr | Yes, it adds more explicit rules... My vote is to remove it and fix | the Makefiles/scripts that are broken. It is pretty straight-forward. | | Now

Re: make rule of multiple file generation (was Re: CVS commit: src/share/mk)

2009-12-13 Thread Masao Uebayashi
Yes: % find * -name Makefile | xargs grep -l GENCMD usr.bin/ktruss/Makefile % find * -name '*.mk' | xargs grep -l GENCMD share/mk/bsd.own.mk Masao -- Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635

Re: CVS commit: src/share/mk

2009-12-11 Thread Matthias Scheler
On Fri, Dec 04, 2009 at 11:21:07AM +, Adam Hamsik wrote: Module Name: src Committed By: haad Date: Fri Dec 4 11:21:07 UTC 2009 Modified Files: src/share/mk: bsd.own.mk Log Message: Switch MKLVM to default value to yes. There are only few bits missing and it would be

re: CVS commit: src/share/mk

2009-12-11 Thread matthew green
Module Name: src Committed By:uebayasi Date:Fri Dec 11 08:37:34 UTC 2009 Modified Files: src/share/mk: bsd.own.mk Log Message: ${GENCMD} is used to generate only one output from file generation commands which potentially have multiple

Re: CVS commit: src/share/mk

2009-12-11 Thread Christos Zoulas
In article 26371.1260567...@splode.eterna.com.au, matthew green m...@eterna.com.au wrote: Module Name:src Committed By: uebayasi Date: Fri Dec 11 08:37:34 UTC 2009 Modified Files: src/share/mk: bsd.own.mk Log Message: ${GENCMD} is used

re: CVS commit: src/share/mk

2009-12-11 Thread matthew green
In article 26371.1260567...@splode.eterna.com.au, matthew green m...@eterna.com.au wrote: Module Name: src Committed By:uebayasi Date:Fri Dec 11 08:37:34 UTC 2009 Modified Files: src/share/mk: bsd.own.mk Log

Re: CVS commit: src/share/mk

2009-12-11 Thread Masao Uebayashi
I had a discussion with dsl@ on source-change...@. http://mail-index.netbsd.org/source-changes-d/2009/12/08/msg001261.html His suggestion was: arith.h: arith.y yacc commands arith.o: arith.h [ -f ${@:.o=c} ] || { rm ${@:.o=.h}; exit 1; }

Re: CVS commit: src/share/mk

2009-12-11 Thread Christos Zoulas
On Dec 12, 11:48am, uebay...@tombi.co.jp (Masao Uebayashi) wrote: -- Subject: Re: CVS commit: src/share/mk | I had a discussion with dsl@ on source-change...@. | | http://mail-index.netbsd.org/source-changes-d/2009/12/08/msg001261.html | | His suggestion was: | arith.h: arith.y

Re: CVS commit: src/share/mk

2009-12-08 Thread Masao Uebayashi
${_LDADD.${PROG}} ${_LDFLAGS.${PROG}} ${_LDSTATIC.${PROG}} ${_LDADD.${LIB}} ${_LDFLAGS.${LIB}} OTOH you can't pass parameters to ${CC}, because in suffix rules make(1) only knows the name of ${.IMPSRC} and ${.TARGET}; it's users' responsivility to

Re: CVS commit: src/share/mk

2009-12-03 Thread Masao Uebayashi
Maybe this is simpler: sidebeach% nbmake-i386 -V MKZFS yes sidebeach% nbmake-i386 -V MKZFS MKZFS=no no sidebeach% nbmake-shark -V MKZFS no sidebeach% nbmake-shark -V MKZFS MKZFS=yes yes Masao Index: share/mk/bsd.own.mk

Re: CVS commit: src/share/mk

2009-12-03 Thread Matthias Scheler
On Fri, Dec 04, 2009 at 12:45:22PM +0900, Masao Uebayashi wrote: Maybe this is simpler: sidebeach% nbmake-i386 -V MKZFS yes sidebeach% nbmake-i386 -V MKZFS MKZFS=no no sidebeach% nbmake-shark -V MKZFS no sidebeach% nbmake-shark -V MKZFS MKZFS=yes

Re: CVS commit: src/share/mk

2009-12-03 Thread Masao Uebayashi
Yes, indeed. But this will only work if sets.subr actually checks for this variable, won't it? Yes. sets.subr fetches ${_MKVARS.yes} and ${_MKVARS.no} var names: = MKZFS is in ${_MKVARS.no} sets.subr agains fetches all values for all var names: = MKZFS=${MKZFS} Am I missing anything else?

Re: CVS commit: src/share/mk

2009-12-03 Thread Adam Hamsik
On Dec,Friday 4 2009, at 6:13 AM, Masao Uebayashi wrote: Yes, indeed. But this will only work if sets.subr actually checks for this variable, won't it? Yes. sets.subr fetches ${_MKVARS.yes} and ${_MKVARS.no} var names: = MKZFS is in ${_MKVARS.no} sets.subr agains fetches all values

Re: CVS commit: src/share/mk

2009-11-29 Thread David Laight
On Sun, Nov 29, 2009 at 04:00:00PM +, Masao Uebayashi wrote: Module Name: src Committed By: uebayasi Date: Sun Nov 29 16:00:00 UTC 2009 Modified Files: src/share/mk: bsd.subdir.mk Log Message: Remove an unneeded test (.if defined(V)) in .for v in ${V} ... .endfor.

Re: CVS commit: src/share/mk

2009-11-29 Thread David Holland
On Sun, Nov 29, 2009 at 06:43:10PM +, David Laight wrote: Modified Files: src/share/mk: bsd.subdir.mk Log Message: Remove an unneeded test (.if defined(V)) in .for v in ${V} ... .endfor. Tested by running build.sh distribution. Some versions of make error ${V} when V

<    1   2