Patchwork build: remove old SYMLINKS variable

login
register
mail settings
Submitter Mike Frysinger
Date June 25, 2011, 6:30 a.m.
Message ID <1308983401-27015-1-git-send-email-vapier@gentoo.org>
Download mbox | patch
Permalink /patch/101937/
State Accepted, archived
Commit 966122b0bbb175e9d8cc9876bb455e12c1d70eb9
Headers show

Comments

Mike Frysinger - June 25, 2011, 6:30 a.m.
This is only used to create symlinks to out of tree files.  I doubt it
has any relevance anymore now that jffs2 has been merged into mainline.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 Makefile |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
Artem Bityutskiy - June 25, 2011, 7:04 a.m.
On Sat, 2011-06-25 at 02:30 -0400, Mike Frysinger wrote:
> This is only used to create symlinks to out of tree files.  I doubt it
> has any relevance anymore now that jffs2 has been merged into mainline.
> 
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
> ---
>  Makefile |    6 ------
>  1 files changed, 0 insertions(+), 6 deletions(-)

Pushed to mtd-utils.git, thanks!

Patch

diff --git a/Makefile b/Makefile
index 8bdba8e..d69206a 100644
--- a/Makefile
+++ b/Makefile
@@ -25,8 +25,6 @@  TARGETS = ftl_format flash_erase nanddump doc_loadbios \
 	sumtool #jffs2reader
 SCRIPTS = flash_eraseall
 
-SYMLINKS =
-
 LDLIBS = -L$(BUILDDIR)/lib -lmtd
 LDDEPS = $(BUILDDIR)/lib/libmtd.a
 
@@ -36,7 +34,6 @@  include common.mk
 subdirs_mkfs.ubifs_all: subdirs_ubi-utils_all
 
 clean::
-	-rm -f $(SYMLINKS)
 ifneq ($(BUILDDIR)/.git,)
 ifneq ($(BUILDDIR),.)
 ifneq ($(BUILDDIR),$(CURDIR))
@@ -46,9 +43,6 @@  endif
 endif
 	$(MAKE) -C $(TESTS) clean
 
-$(SYMLINKS):
-	ln -sf ../fs/jffs2/$@ $@
-
 $(BUILDDIR)/mkfs.jffs2: $(addprefix $(BUILDDIR)/,\
 	compr_rtime.o mkfs.jffs2.o compr_zlib.o compr_lzo.o \
 	compr.o rbtree.o)