# 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.
$(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)
+