From: Bernhard Reutner-Fischer Date: Tue, 3 Jan 2006 20:19:58 +0000 (-0000) Subject: - better encapsulation of version X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=85eff8d0e4db93f67b878f1cd602f1164aa49345;p=buildroot.git - better encapsulation of version - quote TARGET_CC for setups which need flags in CC --- diff --git a/package/lzo/lzo.mk b/package/lzo/lzo.mk index 5c0f264cdc..90d59bd338 100644 --- a/package/lzo/lzo.mk +++ b/package/lzo/lzo.mk @@ -6,11 +6,12 @@ # anything to be installed into the target system. # ############################################################# -LZO_SOURCE:=lzo_1.08.orig.tar.gz +LZO_VERSION:=1.08 +LZO_SOURCE:=lzo_$(LZO_VERSION).orig.tar.gz LZO_SITE:=http://ftp.debian.org/debian/pool/main/l/lzo -#LZO_SOURCE:=lzo-1.08.tar.bz2 +#LZO_SOURCE:=lzo-$(LZO_VERSION).tar.bz2 #LZO_SITE:=http://www.oberhumer.com/opensource/lzo/download -LZO_DIR:=$(BUILD_DIR)/lzo-1.08 +LZO_DIR:=$(BUILD_DIR)/lzo-$(LZO_VERSION) LZO_CAT:=zcat $(DL_DIR)/$(LZO_SOURCE): @@ -45,7 +46,7 @@ $(LZO_DIR)/src/liblzo.la: $(LZO_DIR)/.configured $(MAKE) -C $(LZO_DIR) $(STAGING_DIR)/lib/liblzo.a: $(LZO_DIR)/src/liblzo.la - $(MAKE) CC=$(TARGET_CC) DESTDIR=$(STAGING_DIR) -C $(LZO_DIR) install + $(MAKE) CC="$(TARGET_CC)" DESTDIR=$(STAGING_DIR) -C $(LZO_DIR) install touch -c $(STAGING_DIR)/lib/liblzo.a lzo: uclibc $(STAGING_DIR)/lib/liblzo.a