From patchwork Tue Nov 13 08:10:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnout Vandecappelle X-Patchwork-Id: 198556 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 70C342C00B0 for ; Tue, 13 Nov 2012 19:11:29 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 52457A01C0; Tue, 13 Nov 2012 08:11:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BlTIKIHefAuW; Tue, 13 Nov 2012 08:11:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id DF4CBA01C7; Tue, 13 Nov 2012 08:11:06 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id DDA438F753 for ; Tue, 13 Nov 2012 08:11:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7713E89B53 for ; Tue, 13 Nov 2012 08:10:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vbg+eRDESsfg for ; Tue, 13 Nov 2012 08:10:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from viper.mind.be (132.79-246-81.adsl-static.isp.belgacom.be [81.246.79.132]) by whitealder.osuosl.org (Postfix) with ESMTPS id A5FB7814AC for ; Tue, 13 Nov 2012 08:10:52 +0000 (UTC) Received: from [172.16.2.6] (helo=vandecaa-laptop) by viper.mind.be with esmtp (Exim 4.69) (envelope-from ) id 1TYBa5-0006Yg-Qn; Tue, 13 Nov 2012 09:10:50 +0100 Received: from arnout by vandecaa-laptop with local (Exim 4.80) (envelope-from ) id 1TYBa5-00044v-90; Tue, 13 Nov 2012 09:10:49 +0100 From: "Arnout Vandecappelle (Essensium/Mind)" To: buildroot@busybox.net Date: Tue, 13 Nov 2012 09:10:46 +0100 Message-Id: <1352794248-15617-4-git-send-email-arnout@mind.be> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1352794248-15617-1-git-send-email-arnout@mind.be> References: <1352794248-15617-1-git-send-email-arnout@mind.be> Subject: [Buildroot] [PATCH v2 4/6] perl: fix configure step X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: Francois Perrad Configure -A symbol=val generates a extra space in config.sh, which causes failure like this : Building Module-Runtime-0.013 Unknown OS type ' linux' - using default settings [Arnout: use -A define:foo instead of patching config.sh] Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/perl/perl.mk | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/package/perl/perl.mk b/package/perl/perl.mk index 0893eb5..391047d 100644 --- a/package/perl/perl.mk +++ b/package/perl/perl.mk @@ -55,14 +55,14 @@ PERL_CONF_OPT = \ --target-tools-prefix=$(TARGET_CROSS) \ --prefix=/usr \ -Dld="$(TARGET_CC_NOCCACHE)" \ - -A ccflags="$(TARGET_CFLAGS)" \ - -A ldflags="$(TARGET_LDFLAGS) -lm" \ - -A mydomain="" \ - -A myhostname="$(BR2_TARGET_GENERIC_HOSTNAME)" \ - -A myuname="Buildroot $(BR2_VERSION_FULL)" \ - -A osname=linux \ - -A osvers=$(LINUX_VERSION) \ - -A perladmin=root + -Dccflags="$(TARGET_CFLAGS)" \ + -Dldflags="$(TARGET_LDFLAGS) -lm" \ + -A define:mydomain="" \ + -A define:myhostname="$(BR2_TARGET_GENERIC_HOSTNAME)" \ + -A define:myuname="Buildroot $(BR2_VERSION_FULL)" \ + -A define:osname=linux \ + -A define:osvers=$(LINUX_VERSION) \ + -A define:perladmin=root ifeq ($(shell expr $(PERL_VERSION_MAJOR) % 2), 1) PERL_CONF_OPT += -Dusedevel