Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/package/lzo
@ 2007-06-21 22:06 aldot at uclibc.org
  0 siblings, 0 replies; 4+ messages in thread
From: aldot at uclibc.org @ 2007-06-21 22:06 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-06-21 15:06:48 -0700 (Thu, 21 Jun 2007)
New Revision: 18886

Log:
- use correct path for lzo libs and headers


Modified:
   trunk/buildroot/package/lzo/lzo.mk


Changeset:
Modified: trunk/buildroot/package/lzo/lzo.mk
===================================================================
--- trunk/buildroot/package/lzo/lzo.mk	2007-06-21 22:05:39 UTC (rev 18885)
+++ trunk/buildroot/package/lzo/lzo.mk	2007-06-21 22:06:48 UTC (rev 18886)
@@ -22,7 +22,7 @@
 $(LZO_DIR)/.unpacked: $(DL_DIR)/$(LZO_SOURCE)
 	$(LZO_CAT) $(DL_DIR)/$(LZO_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
 	toolchain/patch-kernel.sh $(LZO_DIR) package/lzo/ lzo\*.patch
-	touch $(LZO_DIR)/.unpacked
+	touch $@
 
 LZO_CONFIG_SHARED:=--disable-shared
 #LZO_CONFIG_SHARED:=--enable-shared
@@ -36,21 +36,21 @@
 		--target=$(GNU_TARGET_NAME) \
 		--host=$(GNU_TARGET_NAME) \
 		--build=$(GNU_HOST_NAME) \
-		--prefix=/ \
-		--includedir=/include \
-		--libdir=/lib \
+		--prefix=/usr \
+		--includedir=/usr/include \
+		--libdir=/usr/lib \
 		$(LZO_CONFIG_SHARED) \
 	);
-	touch $(LZO_DIR)/.configured
+	touch $@
 
 $(LZO_DIR)/src/liblzo.la: $(LZO_DIR)/.configured
 	$(MAKE) -C $(LZO_DIR)
 
-$(STAGING_DIR)/lib/liblzo.a: $(LZO_DIR)/src/liblzo.la
+$(STAGING_DIR)/usr/lib/liblzo.a: $(LZO_DIR)/src/liblzo.la
 	$(MAKE) CC="$(TARGET_CC)" DESTDIR=$(STAGING_DIR) -C $(LZO_DIR) install
-	touch -c $(STAGING_DIR)/lib/liblzo.a
+	touch -c $@
 
-lzo: uclibc $(STAGING_DIR)/lib/liblzo.a
+lzo: uclibc $(STAGING_DIR)/usr/lib/liblzo.a
 
 lzo-clean:
 	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(LZO_DIR) uninstall

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

* [Buildroot] svn commit: trunk/buildroot/package/lzo
@ 2007-09-23  9:52 ulf at uclibc.org
  0 siblings, 0 replies; 4+ messages in thread
From: ulf at uclibc.org @ 2007-09-23  9:52 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-09-23 02:52:03 -0700 (Sun, 23 Sep 2007)
New Revision: 19955

Log:
Fix library path in lzo

Modified:
   trunk/buildroot/package/lzo/lzo.mk


Changeset:
Modified: trunk/buildroot/package/lzo/lzo.mk
===================================================================
--- trunk/buildroot/package/lzo/lzo.mk	2007-09-23 04:10:59 UTC (rev 19954)
+++ trunk/buildroot/package/lzo/lzo.mk	2007-09-23 09:52:03 UTC (rev 19955)
@@ -48,6 +48,7 @@
 
 $(STAGING_DIR)/usr/lib/liblzo.a: $(LZO_DIR)/src/liblzo.la
 	$(MAKE) CC="$(TARGET_CC)" DESTDIR=$(STAGING_DIR) -C $(LZO_DIR) install
+	$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/liblzo.la
 	touch -c $@
 
 lzo: uclibc $(STAGING_DIR)/usr/lib/liblzo.a

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

* [Buildroot] svn commit: trunk/buildroot/package/lzo
@ 2008-08-20 14:28 jacmet at uclibc.org
  0 siblings, 0 replies; 4+ messages in thread
From: jacmet at uclibc.org @ 2008-08-20 14:28 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-08-20 07:28:58 -0700 (Wed, 20 Aug 2008)
New Revision: 23120

Log:
lzo: bump version and update to Makefile.autotools.in format

Bump LZO version and update makefile - tested with latest mtdutils.

Signed-off-by: daniel.j.laird <daniel.j.laird@nxp.com>

Removed:
   trunk/buildroot/package/lzo/lzo-cross-compile.patch

Modified:
   trunk/buildroot/package/lzo/lzo.mk


Changeset:
Deleted: trunk/buildroot/package/lzo/lzo-cross-compile.patch
===================================================================
--- trunk/buildroot/package/lzo/lzo-cross-compile.patch	2008-08-20 14:15:15 UTC (rev 23119)
+++ trunk/buildroot/package/lzo/lzo-cross-compile.patch	2008-08-20 14:28:58 UTC (rev 23120)
@@ -1,43 +0,0 @@
-For some reason the lzo autoconf script uses a local macro that does
-a test for cross-compiles, and assumes that if the build target name
-and the host target name are the same that --host was not specified to
-the configure script. In the uClibc buildroot, this is not the case.
-
---- lzo-1.08/aclocal.m4	2002-07-12 18:31:52.000000000 -0700
-+++ lzo-1.08/aclocal.m4.new	2004-03-10 15:32:42.000000000 -0700
-@@ -205,12 +205,6 @@
- [
- AC_REQUIRE([AC_PROG_CC])
- 
--if test "X$cross_compiling" = Xyes; then
--  if test "X$build" = "X$host"; then
--    AC_MSG_ERROR([you are cross compiling - please use the \`--host=' option])
--  fi
--fi
--
- ])
- 
- 
---- lzo-1.08/configure-dist	2004-03-11 02:18:28.000000000 -0600
-+++ lzo-1.08/configure	2004-03-11 02:19:16.000000000 -0600
-@@ -2282,13 +2282,13 @@
- 
- 
- 
--if test "X$cross_compiling" = Xyes; then
--  if test "X$build" = "X$host"; then
--    { { echo "$as_me:$LINENO: error: you are cross compiling - please use the \`--host=' option" >&5
--echo "$as_me: error: you are cross compiling - please use the \`--host=' option" >&2;}
--   { (exit 1); exit 1; }; }
--  fi
--fi
-+#if test "X$cross_compiling" = Xyes; then
-+#  if test "X$build" = "X$host"; then
-+#    { { echo "$as_me:$LINENO: error: you are cross compiling - please use the \`--host=' option" >&5
-+#echo "$as_me: error: you are cross compiling - please use the \`--host=' option" >&2;}
-+#   { (exit 1); exit 1; }; }
-+#  fi
-+#fi
- 
- 
- 

Modified: trunk/buildroot/package/lzo/lzo.mk
===================================================================
--- trunk/buildroot/package/lzo/lzo.mk	2008-08-20 14:15:15 UTC (rev 23119)
+++ trunk/buildroot/package/lzo/lzo.mk	2008-08-20 14:28:58 UTC (rev 23120)
@@ -2,69 +2,16 @@
 #
 # lzo
 #
-# Note: this builds only a static library, it does not provide
-# anything to be installed into the target system.
-#
 #############################################################
-LZO_VERSION:=1.08
-LZO_SOURCE:=lzo_$(LZO_VERSION).orig.tar.gz
-LZO_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/l/lzo
-#LZO_SOURCE:=lzo-$(LZO_VERSION).tar.bz2
-#LZO_SITE:=http://www.oberhumer.com/opensource/lzo/download
-LZO_DIR:=$(BUILD_DIR)/lzo-$(LZO_VERSION)
-LZO_CAT:=$(ZCAT)
+LZO_VERSION:=2.03
+LZO_SOURCE:=lzo-$(LZO_VERSION).tar.gz
+LZO_SITE:=http://www.oberhumer.com/opensource/lzo/download
+LZO_AUTORECONF = NO
+LZO_INSTALL_STAGING = YES
+LZO_INSTALL_TARGET = YES
+LZO_INSTALL_STAGING_OPT = CC="$(TARGET_CC)" DESTDIR=$(STAGING_DIR) install
+LZO_CONF_ENV =
+LZO_CONF_OPT =
+LZO_DEPENDENCIES = uclibc
 
-$(DL_DIR)/$(LZO_SOURCE):
-	 $(WGET) -P $(DL_DIR) $(LZO_SITE)/$(LZO_SOURCE)
-
-lzo-source: $(DL_DIR)/$(LZO_SOURCE)
-
-$(LZO_DIR)/.unpacked: $(DL_DIR)/$(LZO_SOURCE)
-	$(LZO_CAT) $(DL_DIR)/$(LZO_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-	toolchain/patch-kernel.sh $(LZO_DIR) package/lzo/ lzo\*.patch
-	$(CONFIG_UPDATE) $(LZO_DIR)/acconfig
-	touch $@
-
-LZO_CONFIG_SHARED:=--disable-shared
-#LZO_CONFIG_SHARED:=--enable-shared
-
-$(LZO_DIR)/.configured: $(LZO_DIR)/.unpacked
-	(cd $(LZO_DIR); rm -rf config.cache; \
-		$(TARGET_CONFIGURE_OPTS) \
-		$(TARGET_CONFIGURE_ARGS) \
-		./configure \
-		--target=$(GNU_TARGET_NAME) \
-		--host=$(GNU_TARGET_NAME) \
-		--build=$(GNU_HOST_NAME) \
-		--prefix=/usr \
-		--includedir=/usr/include \
-		--libdir=/usr/lib \
-		$(LZO_CONFIG_SHARED) \
-	)
-	touch $@
-
-$(LZO_DIR)/src/liblzo.la: $(LZO_DIR)/.configured
-	$(MAKE) -C $(LZO_DIR)
-
-$(STAGING_DIR)/usr/lib/liblzo.a: $(LZO_DIR)/src/liblzo.la
-	$(MAKE) CC="$(TARGET_CC)" DESTDIR=$(STAGING_DIR) -C $(LZO_DIR) install
-	$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/liblzo.la
-	touch -c $@
-
-lzo: uclibc $(STAGING_DIR)/usr/lib/liblzo.a
-
-lzo-clean:
-	-$(MAKE) DESTDIR=$(STAGING_DIR) -C $(LZO_DIR) uninstall
-	-$(MAKE) -C $(LZO_DIR) clean
-
-lzo-dirclean:
-	rm -rf $(LZO_DIR)
-
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(strip $(BR2_PACKAGE_LZO)),y)
-TARGETS+=lzo
-endif
+$(eval $(call AUTOTARGETS,package,lzo))

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

* [Buildroot] svn commit: trunk/buildroot/package/lzo
@ 2008-11-14 13:39 jacmet at uclibc.org
  0 siblings, 0 replies; 4+ messages in thread
From: jacmet at uclibc.org @ 2008-11-14 13:39 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-11-14 05:39:46 -0800 (Fri, 14 Nov 2008)
New Revision: 24041

Log:
lzo: add $(DISABLE_LARGEFILE) to configure options

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>

Modified:
   trunk/buildroot/package/lzo/lzo.mk


Changeset:
Modified: trunk/buildroot/package/lzo/lzo.mk
===================================================================
--- trunk/buildroot/package/lzo/lzo.mk	2008-11-14 13:03:01 UTC (rev 24040)
+++ trunk/buildroot/package/lzo/lzo.mk	2008-11-14 13:39:46 UTC (rev 24041)
@@ -11,7 +11,7 @@
 LZO_INSTALL_TARGET = YES
 LZO_INSTALL_STAGING_OPT = CC="$(TARGET_CC)" DESTDIR=$(STAGING_DIR) install
 LZO_CONF_ENV =
-LZO_CONF_OPT =
+LZO_CONF_OPT = $(DISABLE_LARGEFILE)
 LZO_DEPENDENCIES = uclibc
 
 $(eval $(call AUTOTARGETS,package,lzo))

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

end of thread, other threads:[~2008-11-14 13:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-20 14:28 [Buildroot] svn commit: trunk/buildroot/package/lzo jacmet at uclibc.org
  -- strict thread matches above, loose matches on Subject: below --
2008-11-14 13:39 jacmet at uclibc.org
2007-09-23  9:52 ulf at uclibc.org
2007-06-21 22:06 aldot at uclibc.org

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