diff options
Diffstat (limited to 'usr.sbin/stallion/stlload')
-rw-r--r-- | usr.sbin/stallion/stlload/Makefile | 8 | ||||
-rw-r--r-- | usr.sbin/stallion/stlload/stlload.c | 8 |
2 files changed, 13 insertions, 3 deletions
diff --git a/usr.sbin/stallion/stlload/Makefile b/usr.sbin/stallion/stlload/Makefile new file mode 100644 index 0000000..99142f2 --- /dev/null +++ b/usr.sbin/stallion/stlload/Makefile @@ -0,0 +1,8 @@ +# $Id$ + +PROG= stlload +NOMAN= #oops + +CFLAGS+=-DBOOTDIR=\"${BOOTDIR}\" + +.include <bsd.prog.mk> diff --git a/usr.sbin/stallion/stlload/stlload.c b/usr.sbin/stallion/stlload/stlload.c index d44c052..7f62779 100644 --- a/usr.sbin/stallion/stlload/stlload.c +++ b/usr.sbin/stallion/stlload/stlload.c @@ -32,6 +32,8 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. + * + * $Id$ */ /*****************************************************************************/ @@ -45,14 +47,14 @@ #include <sys/stat.h> #include <sys/ioctl.h> -#include "cdk.h" +#include <machine/cdk.h> /*****************************************************************************/ char *version = "0.0.5"; char *defdevice = "/dev/staliomem%d"; -char *image = "/usr/lib/stallion/cdk.sys"; -char *oldimage = "/usr/lib/stallion/2681.sys"; +char *image = BOOTDIR "/cdk.sys"; +char *oldimage = BOOTDIR "/2681.sys"; char *progname; char *memdevice; |