diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-07-16 09:32:07 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-07-16 09:32:07 +0000 |
commit | 144f079cdea55b7b6aa106d395e3b77a9f1692a1 (patch) | |
tree | b018f3f398d218b84e75216068cf5ce5cb99489d /package/libcgi | |
parent | 1ed4094d615a7684cfff40b65200c415ac695955 (diff) | |
download | buildroot-144f079cdea55b7b6aa106d395e3b77a9f1692a1.tar.gz buildroot-144f079cdea55b7b6aa106d395e3b77a9f1692a1.zip |
Stop repeated build of libcgi
Diffstat (limited to 'package/libcgi')
-rw-r--r-- | package/libcgi/libcgi.mk | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/package/libcgi/libcgi.mk b/package/libcgi/libcgi.mk index 4be64b8f72..0253ccc19a 100644 --- a/package/libcgi/libcgi.mk +++ b/package/libcgi/libcgi.mk @@ -7,8 +7,8 @@ LIBCGI_VERSION:=1.0 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)/.configured: $(LIBCGI_DIR)/.source $(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-clean: libcgi-dirclean: rm -rf $(LIBCGI_DIR) +.PHONY: libcgi ############################################################# # # Toplevel Makefile options |