|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../util-linux/disable_cramfs_tools.diff
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
|
|
|
# Copyright (C) 1998 - 2003 Clifford Wolf
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
|
|
# of the GNU General Public License as published by the Free Software
|
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
|
|
# version.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
--- disk-utils/Makefile.orig 2004-12-21 18:14:16.000000000 +0100
|
|
|
|
+++ disk-utils/Makefile 2005-04-07 13:32:34.007568352 +0200
|
|
|
|
@@ -20,7 +20,7 @@
|
|
|
|
|
|
|
|
ETC= fdprm
|
|
|
|
|
|
|
|
-MAYBE= setfdprm raw fsck.cramfs mkfs.cramfs
|
|
|
|
+MAYBE= setfdprm raw
|
|
|
|
|
|
|
|
ifneq "$(HAVE_FDUTILS)" "yes"
|
|
|
|
USRBIN:=$(USRBIN) setfdprm
|
|
|
|
@@ -32,26 +32,12 @@
|
|
|
|
MAN8:=$(MAN8) raw.8
|
|
|
|
endif
|
|
|
|
|
|
|
|
-ifeq "$(HAVE_ZLIB)" "yes"
|
|
|
|
-SBIN:=$(SBIN) fsck.cramfs mkfs.cramfs
|
|
|
|
-endif
|
|
|
|
-
|
|
|
|
ifeq "$(HAVE_UUID)" "yes"
|
|
|
|
MKSWAP_LIBS=-luuid
|
|
|
|
endif
|
|
|
|
|
|
|
|
all: $(SBIN) $(USRBIN)
|
|
|
|
|
|
|
|
-fsck.cramfs: fsck.cramfs.o
|
|
|
|
- $(CC) $(LDFLAGS) -o fsck.cramfs fsck.cramfs.o -lz
|
|
|
|
-
|
|
|
|
-mkfs.cramfs: mkfs.cramfs.o $(LIB)/md5.o
|
|
|
|
- $(CC) $(LDFLAGS) -o mkfs.cramfs mkfs.cramfs.o $(LIB)/md5.o -lz
|
|
|
|
-
|
|
|
|
-mkfs.cramfs.o: $(LIB)/md5.h
|
|
|
|
-
|
|
|
|
-fsck.cramfs.o mkfs.cramfs.o: cramfs.h
|
|
|
|
-
|
|
|
|
fsck.minix.o mkfs.minix.o: bitops.h minix.h
|
|
|
|
|
|
|
|
mkswap: mkswap.o $(LIB)/xstrncpy.o
|