-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
54 lines (37 loc) · 1.68 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Crossplex v0.10.2 by David Wuertele ([email protected])
Configure, Build, and Release Embedded OS Distributions with Make
ABOUT CROSSPLEX
---------------
Crossplex is a library of GNU Make rules meant to simplify the
configuration and building of multiple embedded Linux operating
systems in a production environment.
Read an introduction to Crossplex at http://crossplex.org/about
Learn how to use Crossplex at http://crossplex.org/documentation
Download Crossplex versions at http://crossplex.org/downloads
INSTALLATION
------------
The makefile simply copies the contents of the bin and lib directories to the
destination of your choice.
Default usage (installs in /usr/local/lib/crossplex-1.0 and /usr/local/bin):
make install
Specify target prefix:
make install DESTDIR=/usr
Specify individual lib and bin directories:
make install LIBDIR=/some/path/to/lib BINDIR=/some/path/to/bin
USE
---
The lib directory consists of a set of includable makefiles. Once you have
installed according to the instructions above, you can include the main.mk file
in your own makefile. There are a few variables you will need to define in
order to use crossplex's features. Here is a minimal example:
# -*- makefile -*- Example Makefile
CROSSPLEX_BUILD_SYSTEM := /usr/local/lib/crossplex
BUILD_TOP := /absolute/path/to/my/build/directory
THIRD_PARTY := $(shell pwd)/third-party
PATCHES := $(shell pwd)/patches
UNPACKED_SOURCES := $(shell pwd)/unpacked-sources
include $(CROSSPLEX_BUILD_SYSTEM)/main.mk
That's what you need to have to include the crossplex package. Now to use it,
you will need to read the documentation.
Have fun!