chiark / gitweb /
scsi_id: rename SYSFS to LIBSYSFS
[elogind.git] / extras / scsi_id / Makefile
index 7aa3e83470a0cc0dc5de6dfbf91bc5927f02ecfa..3c38d6171e65b913038cf2bd09ed1a763094cd17 100644 (file)
@@ -28,10 +28,10 @@ INSTALL_DATA  = ${INSTALL} -m 644
 # Note some of the variables used here are set when built under udev, and
 # otherwise might not be set.
 
-override CFLAGS+=-Wall -fno-builtin
+CFLAGS+=-Wall -fno-builtin
 
 PROG=scsi_id
-SYSFS=-lsysfs
+LIBSYSFS=-lsysfs
 
 #
 # Built static and stripped when built with udev.
@@ -76,4 +76,5 @@ spotless: clean
        $(QUIET) $(CC) $(CFLAGS) -c -o $@ $<
 
 $(PROG):       $(OBJS)
-       $(QUIET) $(LD) $(LDFLAGS) -o $(PROG) $(CRT0) $(OBJS) $(SYSFS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
+       $(QUIET) $(LD) $(LDFLAGS) -o $(PROG) $(CRT0) $(OBJS) $(LIBSYSFS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
+