diff options
author | peter <peter@FreeBSD.org> | 1996-05-04 08:02:31 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-05-04 08:02:31 +0000 |
commit | 9faa920f7d7ac4acf2a5937cd582465eb872d34b (patch) | |
tree | cde6ff9de155b26fcd7143bb5e5fc6d31de6586c /usr.sbin/stallion/stlload | |
parent | 4aaaaa1094cbc139ce84eee1aabf409f90b64c41 (diff) | |
download | FreeBSD-src-9faa920f7d7ac4acf2a5937cd582465eb872d34b.zip FreeBSD-src-9faa920f7d7ac4acf2a5937cd582465eb872d34b.tar.gz |
Minimal adjustments to get the Stallion utilities to build and install
in a FreeBSD style source tree.
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; |