Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/package:  libraw1394
@ 2006-12-13  9:13 aldot at uclibc.org
  0 siblings, 0 replies; 2+ messages in thread
From: aldot at uclibc.org @ 2006-12-13  9:13 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2006-12-13 01:13:15 -0800 (Wed, 13 Dec 2006)
New Revision: 16879

Log:
- add libraw1394, thanks to Lars Munch


Added:
   trunk/buildroot/package/libraw1394/
   trunk/buildroot/package/libraw1394/Config.in
   trunk/buildroot/package/libraw1394/libraw1394.mk

Modified:
   trunk/buildroot/package/Config.in


Changeset:
Modified: trunk/buildroot/package/Config.in
===================================================================
--- trunk/buildroot/package/Config.in	2006-12-13 09:04:58 UTC (rev 16878)
+++ trunk/buildroot/package/Config.in	2006-12-13 09:13:15 UTC (rev 16879)
@@ -75,6 +75,7 @@
 source "package/libmad/Config.in"
 source "package/libpcap/Config.in"
 source "package/libpng/Config.in"
+source "package/libraw1394/Config.in"
 source "package/libsysfs/Config.in"
 source "package/libtool/Config.in"
 source "package/libusb/Config.in"

Added: trunk/buildroot/package/libraw1394/Config.in
===================================================================
--- trunk/buildroot/package/libraw1394/Config.in	2006-12-13 09:04:58 UTC (rev 16878)
+++ trunk/buildroot/package/libraw1394/Config.in	2006-12-13 09:13:15 UTC (rev 16879)
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBRAW1394
+	bool "libraw1394"
+	default n
+	help
+		Library for direct access to IEEE 1394 bus.
+
+		Through libraw1394/raw1394, applications can directly
+		send to and receive from other nodes without requiring
+		a kernel driver for the protocol in question.
+
+		http://www.linux1394.org/

Added: trunk/buildroot/package/libraw1394/libraw1394.mk
===================================================================
--- trunk/buildroot/package/libraw1394/libraw1394.mk	2006-12-13 09:04:58 UTC (rev 16878)
+++ trunk/buildroot/package/libraw1394/libraw1394.mk	2006-12-13 09:13:15 UTC (rev 16879)
@@ -0,0 +1,60 @@
+#############################################################
+#
+# libraw1394
+#
+#############################################################
+
+LIBRAW1394_VERSION:=1.2.1
+LIBRAW1394_SOURCE:=libraw1394-$(LIBRAW1394_VERSION).tar.gz
+LIBRAW1394_SITE:=http://www.linux1394.org/dl
+LIBRAW1394_DIR:=$(BUILD_DIR)/libraw1394-$(LIBRAW1394_VERSION)
+
+$(DL_DIR)/$(LIBRAW1394_SOURCE):
+	$(WGET) -P $(DL_DIR) $(LIBRAW1394_SITE)/$(LIBRAW1394_SOURCE)
+
+$(LIBRAW1394_DIR)/.source: $(DL_DIR)/$(LIBRAW1394_SOURCE)
+	$(ZCAT) $(DL_DIR)/$(LIBRAW1394_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+	touch $(LIBRAW1394_DIR)/.source
+
+$(LIBRAW1394_DIR)/.configured: $(LIBRAW1394_DIR)/.source
+	(cd $(LIBRAW1394_DIR); \
+		$(TARGET_CONFIGURE_OPTS) CC_FOR_BUILD="$(HOSTCC)" \
+		CFLAGS="$(TARGET_CFLAGS)" \
+		./configure \
+			--target=$(GNU_TARGET_NAME) \
+			--host=$(GNU_TARGET_NAME) \
+			--build=$(GNU_HOST_NAME) \
+			--prefix=$(STAGING_DIR) \
+	);
+	touch $(LIBRAW1394_DIR)/.configured;
+
+$(LIBRAW1394_DIR)/.compiled: $(LIBRAW1394_DIR)/.configured
+	$(MAKE) -C $(LIBRAW1394_DIR)
+	touch $(LIBRAW1394_DIR)/.compiled
+
+$(STAGING_DIR)/lib/libraw1394.so: $(LIBRAW1394_DIR)/.compiled
+	make -C $(LIBRAW1394_DIR)/src install
+
+$(TARGET_DIR)/usr/lib/libraw1394.so: $(STAGING_DIR)/lib/libraw1394.so
+	cp -dpf $(STAGING_DIR)/lib/libraw1394.so* $(TARGET_DIR)/usr/lib/
+
+libraw1394: uclibc $(TARGET_DIR)/usr/lib/libraw1394.so
+
+libraw1394-source: $(DL_DIR)/$(LIBRAW1394_SOURCE)
+
+libraw1394-clean:
+	rm $(TARGET_DIR)/usr/lib/libraw1394.so*
+	-$(MAKE) -C $(LIBRAW1394_DIR) clean
+
+libraw1394-dirclean:
+	rm -rf $(LIBRAW1394_DIR)
+
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_LIBRAW1394)),y)
+TARGETS+=libraw1394
+endif
+

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot]  svn commit: trunk/buildroot/package:  libraw1394
@ 2008-12-01 17:09 Burt Silverman
  0 siblings, 0 replies; 2+ messages in thread
From: Burt Silverman @ 2008-12-01 17:09 UTC (permalink / raw)
  To: buildroot

The .compiled .PHONY target shown in the libraw1394.mk file is not
removed when making the libraw1394-clean target.  This is a problem for
anyone issuing the "make libraw1394-clean" command.  The same problem
appears in the pciutils package.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20081201/885534a9/attachment.htm 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-01 17:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-13  9:13 [Buildroot] svn commit: trunk/buildroot/package: libraw1394 aldot at uclibc.org
  -- strict thread matches above, loose matches on Subject: below --
2008-12-01 17:09 Burt Silverman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox