From: greg@kroah.com Date: Thu, 14 Oct 2004 07:38:08 +0000 (-0700) Subject: [PATCH] fix up error in building extras and libsysfs X-Git-Tag: 038~2 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=c008fe93f5252d47f82d7f00e423983bda9ce1e3 [PATCH] fix up error in building extras and libsysfs --- diff --git a/Makefile b/Makefile index e51a05092..1f9578e7f 100644 --- a/Makefile +++ b/Makefile @@ -184,7 +184,6 @@ all: $(ROOT) $(SENDER) $(DAEMON) $(INFO) $(TESTER) $(WAIT) $(GEN_CONFIGS) echo $$target ; \ $(MAKE) prefix=$(prefix) \ LD="$(LD)" \ - SYSFS="$(SYSFS)" \ KERNEL_DIR="$(KERNEL_DIR)" \ -C $$target $@ ; \ done ; \ diff --git a/extras/scsi_id/Makefile b/extras/scsi_id/Makefile index 7ccc4c511..6a73e3378 100644 --- a/extras/scsi_id/Makefile +++ b/extras/scsi_id/Makefile @@ -31,8 +31,14 @@ INSTALL_DATA = ${INSTALL} -m 644 override CFLAGS+=-Wall -fno-builtin PROG=scsi_id -SYSFS=-lsysfs +SYSFS = ../../libsysfs/sysfs_bus.o \ + ../../libsysfs/sysfs_class.o \ + ../../libsysfs/sysfs_device.o \ + ../../libsysfs/sysfs_dir.o \ + ../../libsysfs/sysfs_driver.o \ + ../../libsysfs/sysfs_utils.o \ + ../../libsysfs/dlist.o # # Built static and stripped when built with udev. #