mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Juergen Beisert <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 1/2] opkg: clean up rule file
Date: Tue, 21 Jan 2014 16:27:01 +0100	[thread overview]
Message-ID: <1390318022-13052-2-git-send-email-jbe@pengutronix.de> (raw)
In-Reply-To: <1390318022-13052-1-git-send-email-jbe@pengutronix.de>

While working on the opkg package its time to do the dishes.

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
---
 rules/opkg.make | 40 +++++++++-------------------------------
 1 file changed, 9 insertions(+), 31 deletions(-)

diff --git a/rules/opkg.make b/rules/opkg.make
index a433054..8fc464f 100644
--- a/rules/opkg.make
+++ b/rules/opkg.make
@@ -1,6 +1,7 @@
 # -*-makefile-*-
 #
 # Copyright (C) 2009 by Robert Schwebel
+# Copyright (C) 2014 by Juergen Beisert
 #
 # See CREDITS for details about who has contributed to this project.
 #
@@ -37,40 +38,17 @@ OPKG_ENV 	:= $(CROSS_ENV)
 OPKG_CONF_TOOL	:= autoconf
 OPKG_CONF_OPT	:= \
 	$(CROSS_AUTOCONF_USR) \
+	$(GLOBAL_LARGE_FILE_OPTION) \
+	--disable-static \
+	--$(call ptx/endis, PTXCONF_OPKG_PATHFINDER)-pathfinder \
+	--$(call ptx/endis, PTXCONF_OPKG_CURL)-curl \
+	--$(call ptx/endis, PTXCONF_OPKG_SHA256)-sha256 \
+	--$(call ptx/endis, PTXCONF_OPKG_OPENSSL)-openssl \
+	--$(call ptx/endis, PTXCONF_OPKG_SSL_CURL)-ssl-curl \
+	--$(call ptx/endis, PTXCONF_OPKG_GPG)-gpg \
 	--enable-shave \
 	--with-opkglockfile=/var/lock/opkg.lock
 
-ifdef PTXCONF_OPKG_PATHFINDER
-OPKG_CONF_OPT += --enable-pathfinder
-else
-OPKG_CONF_OPT += --disable-pathfinder
-endif
-ifdef PTXCONF_OPKG_CURL
-OPKG_CONF_OPT += --enable-curl
-else
-OPKG_CONF_OPT += --disable-curl
-endif
-ifdef PTXCONF_OPKG_SHA256
-OPKG_CONF_OPT += --enable-sha256
-else
-OPKG_CONF_OPT += --disable-sha256
-endif
-ifdef PTXCONF_OPKG_OPENSSL
-OPKG_CONF_OPT += --enable-openssl
-else
-OPKG_CONF_OPT += --disable-openssl
-endif
-ifdef PTXCONF_OPKG_SSL_CURL
-OPKG_CONF_OPT += --enable-ssl-curl
-else
-OPKG_CONF_OPT += --disable-ssl-curl
-endif
-ifdef PTXCONF_OPKG_GPG
-OPKG_CONF_OPT += --enable-gpg
-else
-OPKG_CONF_OPT += --disable-gpg
-endif
-
 # ----------------------------------------------------------------------------
 # Target-Install
 # ----------------------------------------------------------------------------
-- 
1.8.5.2


-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2014-01-21 15:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-21 15:27 [ptxdist] [PATCH] opkg: beautifying and fixing Juergen Beisert
2014-01-21 15:27 ` Juergen Beisert [this message]
2014-01-21 15:27 ` [ptxdist] [PATCH 2/2] opkg: do not grab files from the build directory Juergen Beisert
2014-01-23 16:55   ` 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=1390318022-13052-2-git-send-email-jbe@pengutronix.de \
    --to=jbe@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