From: Arne Fitzenreiter Date: Tue, 23 Nov 2010 20:54:42 +0000 (+0100) Subject: Remove unneeded mtd package. X-Git-Tag: v2.9-beta1~48^2~5^2~2^2~8 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=b93741f4ef58800e2e16e813bc39917d2595e191 Remove unneeded mtd package. --- diff --git a/config/rootfiles/common/mtd b/config/rootfiles/common/mtd deleted file mode 100644 index 3940cd759d..0000000000 --- a/config/rootfiles/common/mtd +++ /dev/null @@ -1 +0,0 @@ -sbin/mkfs.jffs2 diff --git a/lfs/mtd b/lfs/mtd deleted file mode 100644 index 6e1a70c6fe..0000000000 --- a/lfs/mtd +++ /dev/null @@ -1,87 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # -# # -# This program is free software: you can redistribute it and/or modify # -# it under the terms of the GNU General Public License as published by # -# the Free Software Foundation, either version 3 of the License, or # -# (at your option) any later version. # -# # -# This program is distributed in the hope that it will be useful, # -# but WITHOUT ANY WARRANTY; without even the implied warranty of # -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # -# GNU General Public License for more details. # -# # -# You should have received a copy of the GNU General Public License # -# along with this program. If not, see . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -VER = CVS-20070507 - -THISAPP = mtd-$(VER) -DL_FILE = $(THISAPP).tar.bz2 -DL_FROM = $(URL_IPFIRE) -DIR_APP = $(DIR_SRC)/mtd -ifeq "$(LFS_PASS)" "install" - TARGET = $(DIR_INFO)/$(THISAPP)-install -else - TARGET = $(DIR_INFO)/$(THISAPP) -endif - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -$(DL_FILE) = $(DL_FROM)/$(DL_FILE) - -$(DL_FILE)_MD5 = 788e4255023e325172ad42a26f4685bb - -install : $(TARGET) - -check : $(patsubst %,$(DIR_CHK)/%,$(objects)) - -download :$(patsubst %,$(DIR_DL)/%,$(objects)) - -md5 : $(subst %,%_MD5,$(objects)) - -############################################################################### -# Downloading, checking, md5sum -############################################################################### - -$(patsubst %,$(DIR_CHK)/%,$(objects)) : - @$(CHECK) - -$(patsubst %,$(DIR_DL)/%,$(objects)) : - @$(LOAD) - -$(subst %,%_MD5,$(objects)) : - @$(MD5) - -############################################################################### -# Installation Details -############################################################################### - -$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) - -ifeq "$(LFS_PASS)" "install" - cd $(DIR_APP)/util && make mkfs.jffs2 CFLAGS="$(CFLAGS) -I ../include -I/opt/$(MACHINE)-uClibc/include" \ - LDFLAGS=-static - cd $(DIR_APP)/util && install -m 755 mkfs.jffs2 /install/initrd/sbin/mkfs.jffs2 -else - cd $(DIR_APP)/util && make mkfs.jffs2 CFLAGS="$(CFLAGS) -I ../include" - cd $(DIR_APP)/util && install -m 755 mkfs.jffs2 /sbin/mkfs.jffs2 -endif - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/make.sh b/make.sh index 2222e773ad..24753ce9ce 100755 --- a/make.sh +++ b/make.sh @@ -327,7 +327,6 @@ buildbase() { lfsmake2 man lfsmake2 mktemp lfsmake2 module-init-tools - lfsmake2 mtd lfsmake2 net-tools lfsmake2 patch lfsmake2 psmisc