summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/sysfs/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-01 17:25:18 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-01 17:25:18 +0000
commitf8b5c22e2584741f2c522ffc86486bc073f943ce (patch)
tree1e27dba25898b704d3b984320aa30dafc46fb6cd /mdk-stage1/sysfs/Makefile
parentb43eb0e25e1a0778e81d682a0fbf0d298cdf0234 (diff)
downloaddrakx-f8b5c22e2584741f2c522ffc86486bc073f943ce.tar
drakx-f8b5c22e2584741f2c522ffc86486bc073f943ce.tar.gz
drakx-f8b5c22e2584741f2c522ffc86486bc073f943ce.tar.bz2
drakx-f8b5c22e2584741f2c522ffc86486bc073f943ce.tar.xz
drakx-f8b5c22e2584741f2c522ffc86486bc073f943ce.zip
link against system library for libsysfs (from mdv)
Diffstat (limited to 'mdk-stage1/sysfs/Makefile')
-rw-r--r--mdk-stage1/sysfs/Makefile39
1 files changed, 0 insertions, 39 deletions
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 $@