From: ulf at uclibc.org <ulf@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/libcgi
Date: Mon, 16 Jul 2007 02:32:09 -0700 (PDT) [thread overview]
Message-ID: <20070716093209.2D478A6ABC@busybox.net> (raw)
Author: ulf
Date: 2007-07-16 02:32:07 -0700 (Mon, 16 Jul 2007)
New Revision: 19107
Log:
Stop repeated build of libcgi
Modified:
trunk/buildroot/package/libcgi/libcgi.mk
Changeset:
Modified: trunk/buildroot/package/libcgi/libcgi.mk
===================================================================
--- trunk/buildroot/package/libcgi/libcgi.mk 2007-07-16 08:12:15 UTC (rev 19106)
+++ trunk/buildroot/package/libcgi/libcgi.mk 2007-07-16 09:32:07 UTC (rev 19107)
@@ -7,8 +7,8 @@
LIBCGI_SOURCE:=libcgi-$(LIBCGI_VERSION).tar.gz
LIBCGI_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/libcgi
LIBCGI_DIR:=$(BUILD_DIR)/libcgi-$(LIBCGI_VERSION)
-LIBCGI_LIBRARY:=libcgi
-LIBCGI_TARGET_LIBRARY:=usr/bin/libcgi
+LIBCGI_LIBRARY:=src/libcgi.so
+LIBCGI_TARGET_LIBRARY:=usr/lib/libcgi.so
$(DL_DIR)/$(LIBCGI_SOURCE):
$(WGET) -P $(DL_DIR) $(LIBCGI_SITE)/$(LIBCGI_SOURCE)
@@ -44,12 +44,12 @@
$(LIBCGI_DIR)/$(LIBCGI_LIBRARY): $(LIBCGI_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(LIBCGI_DIR)
-$(STAGING_DIR)/lib/libcgi.so: $(LIBCGI_DIR)/$(LIBCGI_LIBRARY)
+$(STAGING_DIR)/usr/lib/libcgi.so: $(LIBCGI_DIR)/$(LIBCGI_LIBRARY)
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBCGI_DIR) install
- touch -c $(STAGING_DIR)/lib/libcgi.so
+ touch -c $(STAGING_DIR)/usr/lib/libcgi.so
-$(TARGET_DIR)/$(LIBCGI_TARGET_LIBRARY): $(STAGING_DIR)/lib/libcgi.so
- cp -dpf $(STAGING_DIR)/lib/libcgi.so* $(TARGET_DIR)/usr/lib/
+$(TARGET_DIR)/$(LIBCGI_TARGET_LIBRARY): $(STAGING_DIR)/$(LIBCGI_TARGET_LIBRARY)
+ cp -dpf $(STAGING_DIR)/$(LIBCGI_TARGET_LIBRARY)* $(TARGET_DIR)/usr/lib/
libcgi: uclibc $(TARGET_DIR)/$(LIBCGI_TARGET_LIBRARY)
@@ -62,6 +62,7 @@
libcgi-dirclean:
rm -rf $(LIBCGI_DIR)
+.PHONY: libcgi
#############################################################
#
# Toplevel Makefile options
next reply other threads:[~2007-07-16 9:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-16 9:32 ulf at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-07-16 19:03 [Buildroot] svn commit: trunk/buildroot/package/libcgi ulf at uclibc.org
2006-12-12 13:16 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=20070716093209.2D478A6ABC@busybox.net \
--to=ulf@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