3 CFLAGS
+= -Wall
-Os
$(EXTRACFLAGS
) -I
$(SRCBASE
) -I
$(SRCBASE
)/include -I
$(LINUXDIR
)/include -I.
4 ifeq ($(CONFIG_LINUX26
),y
)
12 scsi-start
: scsi-start.c
13 @
$(CC
) -o
$@
$^
$(CFLAGS
)
15 scsi-idle
: scsi-idle.c
16 @
$(CC
) -o
$@
$^
$(CFLAGS
)
19 rm -f
*.o
$(TARGETS
) *~
22 @
install -d
$(INSTALLDIR
)/usr
/sbin
23 @
install -D scsi-start
$(INSTALLDIR
)/usr
/sbin
/scsi-start
24 @
$(STRIP
) -s
$(INSTALLDIR
)/usr
/sbin
/scsi-start
26 # scsi-stop is a symbolic link to scsi-start
27 cd
$(INSTALLDIR
)/usr
/sbin
&& \
28 ln
-sf scsi-start scsi-stop