From f8b5c22e2584741f2c522ffc86486bc073f943ce Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 1 Jun 2012 17:25:18 +0000 Subject: link against system library for libsysfs (from mdv) --- mdk-stage1/sysfs/Makefile | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 mdk-stage1/sysfs/Makefile (limited to 'mdk-stage1/sysfs/Makefile') diff --git a/mdk-stage1/sysfs/Makefile b/mdk-stage1/sysfs/Makefile deleted file mode 100644 index e3f965c43..000000000 --- a/mdk-stage1/sysfs/Makefile +++ /dev/null @@ -1,39 +0,0 @@ - #****************************************************************************** - # - # Guillaume Cottenceau (gc) - # Olivier Blin (blino) - # - # Copyright 2006 Mandriva - # - # This software may be freely redistributed under the terms of the GNU - # public license. - # - # You should have received a copy of the GNU General Public License - # along with this program; if not, write to the Free Software - # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - # - #***************************************************************************** - -# minimal sysfs library ripped from sysfsutils-2.0.0 - -top_dir = .. - -include $(top_dir)/Makefile.common - -TARGET = libsysfs.a - -all: $(TARGET) - -clean: - rm -f *.o $(TARGET) - -FLAGS = -D__linux__ -Wall -Werror -Wno-deprecated-declarations -Os -fomit-frame-pointer -pipe -c -I.. -D_BSD_SOURCE - -OBJS = sysfs_attr.o sysfs_utils.o - -$(TARGET): $(OBJS) - ar -cru $@ $^ - ranlib $@ - -$(OBJS): %.o: %.c - $(DIET) gcc $(FLAGS) $(INCLUDES) -c $< -o $@ -- cgit v1.2.1