mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Juergen Beisert <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Michael Olbrich <m.olbrich@pengutronix.de>
Subject: Re: [ptxdist] libortp: a Real-time Transport Protocol (RTP, RFC3550) library
Date: Wed, 4 Apr 2012 15:44:30 +0200	[thread overview]
Message-ID: <201204041544.30293.jbe@pengutronix.de> (raw)
In-Reply-To: <20120404130345.GR28453@pengutronix.de>

Michael Olbrich wrote:
> > [...]
> > +ifdef PTXCONF_LIBORTP_SRTP
> > +LIBORTP_CONF_OPT += --with-srtp=/usr
> > +else
> > +LIBORTP_CONF_OPT += --with-srtp=none
> > +endif
>
> 	--with-srtp=$(call ptx/ifdef, PTXCONF_LIBORTP_SRTP,/usr,none)

\o/ Now I know the usecase for this kind of macro

> [...]
> > +ifdef PTXCONF_LIBORTP_TESTS
> > +	@$(call install_copy, libortp, 0, 0, 0755, \
> > +		$(LIBORTP_DIR)/src/tests/mrtprecv, /usr/bin/mrtprecv)
> > +	@$(call install_copy, libortp, 0, 0, 0755, \
> > +		$(LIBORTP_DIR)/src/tests/mrtpsend, /usr/bin/mrtpsend)
> > +	@$(call install_copy, libortp, 0, 0, 0755, \
> > +		$(LIBORTP_DIR)/src/tests/rtpmemtest, /usr/bin/rtpmemtest)
> > +	@$(call install_copy, libortp, 0, 0, 0755, \
> > +		$(LIBORTP_DIR)/src/tests/rtprecv, /usr/bin/rtprecv)
> > +	@$(call install_copy, libortp, 0, 0, 0755, \
> > +		$(LIBORTP_DIR)/src/tests/rtpsend, /usr/bin/rtpsend)
> > +	@$(call install_copy, libortp, 0, 0, 0755, \
> > +		$(LIBORTP_DIR)/src/tests/rtpsend_stupid, /usr/bin/rtpsend_stupid)
> > +	@$(call install_copy, libortp, 0, 0, 0755, \
> > +		$(LIBORTP_DIR)/src/tests/test_timer, /usr/bin/test_timer)
> > +	@$(call install_copy, libortp, 0, 0, 0755, \
> > +		$(LIBORTP_DIR)/src/tests/tevmrtprecv, /usr/bin/tevmrtprecv)
> > +	@$(call install_copy, libortp, 0, 0, 0755, \
> > +		$(LIBORTP_DIR)/src/tests/tevrtprecv, /usr/bin/tevrtprecv)
> > +	@$(call install_copy, libortp, 0, 0, 0755, \
> > +		$(LIBORTP_DIR)/src/tests/tevrtpsend, /usr/bin/tevrtpsend)
> > +
> > +endif
>
> This breaks dev packages. Take a look at connman.make for an example on how
> to handle tests like this.

????????

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2012-04-04 13:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-04  8:06 Juergen Beisert
2012-04-04 13:03 ` Michael Olbrich
2012-04-04 13:44   ` Juergen Beisert [this message]
2012-04-04 14:15     ` [ptxdist] [PATCH] " Juergen Beisert
2012-04-06  5:15       ` Michael Olbrich
2012-04-06  5:51       ` Michael Olbrich
2012-04-06 19:43 ` [ptxdist] " Michael Olbrich

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=201204041544.30293.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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