From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/microperl
Date: Fri, 24 Nov 2006 01:49:17 -0800 (PST) [thread overview]
Message-ID: <20061124094917.BE484485E8@busybox.net> (raw)
Author: aldot
Date: 2006-11-24 01:49:16 -0800 (Fri, 24 Nov 2006)
New Revision: 16649
Log:
- fix microperl uconfig and pass the target cflags in properly.
Modified:
trunk/buildroot/package/microperl/microperl.mk
Changeset:
Modified: trunk/buildroot/package/microperl/microperl.mk
===================================================================
--- trunk/buildroot/package/microperl/microperl.mk 2006-11-23 15:59:12 UTC (rev 16648)
+++ trunk/buildroot/package/microperl/microperl.mk 2006-11-24 09:49:16 UTC (rev 16649)
@@ -3,7 +3,8 @@
# microperl
#
#############################################################
-MICROPERL_VER=5.8.8
+MICROPERL_MAJ=5
+MICROPERL_VER=$(MICROPERL_MAJ).8.8
MICROPERL_SOURCE=perl-$(MICROPERL_VER).tar.bz2
MICROPERL_CAT:=$(BZCAT)
MICROPERL_SITE=ftp://ftp.cpan.org/pub/CPAN/src/5.0
@@ -14,11 +15,23 @@
$(MICROPERL_DIR)/.source: $(DL_DIR)/$(MICROPERL_SOURCE)
$(MICROPERL_CAT) $(DL_DIR)/$(MICROPERL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- touch $(MICROPERL_DIR)/.source
+ touch $@
-$(MICROPERL_DIR)/microperl: $(MICROPERL_DIR)/.source
- $(MAKE) -f Makefile.micro CC=$(TARGET_CC) -C $(MICROPERL_DIR)
+$(MICROPERL_DIR)/.configured: $(MICROPERL_DIR)/.source
+ (cd $(MICROPERL_DIR) ; chmod u+w uconfig.h ; . ./uconfig.sh ; \
+ make -f Makefile.micro regen_uconfig ; \
+ $(SED) \
+ 's,PRIVLIB ".*,PRIVLIB "/usr/lib/perl$(MICROPERL_MAJ)/$(MICROPERL_VER)",' \
+ -e 's,PRIVLIB_EXP ".*,PRIVLIB_EXP "/usr/lib/perl$(MICROPERL_MAJ)/$(MICROPERL_VER)",' \
+ -e 's,BIN ".*,BIN "/usr/bin",' \
+ ./uconfig.h ; \
+ )
+ touch $@
+$(MICROPERL_DIR)/microperl: $(MICROPERL_DIR)/.configured
+ $(MAKE) -f Makefile.micro CC=$(TARGET_CC) \
+ OPTIMIZE="$(TARGET_CFLAGS)" -C $(MICROPERL_DIR)
+
$(TARGET_DIR)/usr/bin/microperl: $(MICROPERL_DIR)/microperl
cp -dpf $(MICROPERL_DIR)/microperl $(TARGET_DIR)/usr/bin/microperl
next reply other threads:[~2006-11-24 9:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-24 9:49 aldot at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-02-04 23:51 [Buildroot] svn commit: trunk/buildroot/package/microperl jacmet at uclibc.org
2009-01-25 23:44 ulf at uclibc.org
2009-01-25 8:14 ulf at uclibc.org
2009-01-25 14:21 ` Peter Korsgaard
2007-02-04 19:20 aldot at uclibc.org
2007-01-29 20:15 aldot at uclibc.org
2006-12-15 13:36 aldot at uclibc.org
2006-12-15 13:34 aldot at uclibc.org
2006-11-22 15:22 aldot at uclibc.org
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=20061124094917.BE484485E8@busybox.net \
--to=aldot@uclibc.org \
--cc=buildroot@busybox.net \
/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