summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-02-04 16:34:56 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-02-04 16:34:56 +0000
commit3c1f00b21a11a861ffee0ef801dc57b50b0639c1 (patch)
tree00c2393e0c177dd2dc4eec833ca30b8d5b818488 /package
parentcc6f5f2027ab34f3384ccde954f93321d9f6bc67 (diff)
downloadbuildroot-novena-3c1f00b21a11a861ffee0ef801dc57b50b0639c1.tar.gz
buildroot-novena-3c1f00b21a11a861ffee0ef801dc57b50b0639c1.zip
- avoid spurious rebuilds. Thanks to janlana, closes #1191
- provide a syslinux-source target while at it
Diffstat (limited to 'package')
-rw-r--r--package/lzma/lzma.mk14
1 files changed, 7 insertions, 7 deletions
diff --git a/package/lzma/lzma.mk b/package/lzma/lzma.mk
index 0fd343252..24682fdcd 100644
--- a/package/lzma/lzma.mk
+++ b/package/lzma/lzma.mk
@@ -12,8 +12,8 @@ LZMA_TARGET_DIR:=$(BUILD_DIR)/lzma-$(LZMA_VER)
LZMA_CFLAGS:=$(TARGET_CFLAGS)
ifeq ($(BR2_LARGEFILE),y)
LZMA_CFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-else
endif
+LZMA_TARGET_BINARY:=bin/lzma
$(DL_DIR)/$(LZMA_SOURCE):
$(WGET) -P $(DL_DIR) $(LZMA_SITE)/$(LZMA_SOURCE)
@@ -81,14 +81,14 @@ $(LZMA_TARGET_DIR)/src/lzma/lzma: $(LZMA_TARGET_DIR)/.configured
$(MAKE) -C $(LZMA_TARGET_DIR) all
touch -c $@
-$(TARGET_DIR)/usr/bin/lzma: $(LZMA_TARGET_DIR)/src/lzma/lzma
- -cp -dpf $(LZMA_TARGET_DIR)/src/lzma/lzma $(TARGET_DIR)/bin/;
- -$(STRIP) --strip-unneeded $(TARGET_DIR)/bin/lzma
- touch -c $(TARGET_DIR)/bin/lzma
+$(TARGET_DIR)/$(LZMA_TARGET_BINARY): $(LZMA_TARGET_DIR)/src/lzma/lzma
+ cp -dpf $(LZMA_TARGET_DIR)/src/lzma/lzma $@
+ -$(STRIP) --strip-unneeded $@
+ touch -c $@
-#lzma-headers: $(TARGET_DIR)/bin/lzma
+#lzma-headers: $(TARGET_DIR)/$(LZMA_TARGET_BINARY)
-lzma-target: uclibc $(TARGET_DIR)/usr/bin/lzma
+lzma-target: uclibc $(TARGET_DIR)/$(LZMA_TARGET_BINARY)
lzma-source: $(DL_DIR)/$(LZMA_SOURCE)