forked from open-power/eCMD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
72 lines (59 loc) · 1.85 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Overview
========
eCMD is the hardware access API for IBM Systems. It provides the user
a consistent way to address hardware between system types and even across
processor generations.
The core of eCMD is a C/C++ programing API. Built on top of that are a
cmdline, python module and perl module.
Distros
=============
eCMD will build for Linux x86, x86_64, ppc64 and ppc64le
RHEL, Ubuntu, Fedora and Debian have all been tested and makefile configs
for recent releases are included.
-------- --------- ------ ↑
|python| |cmdline| |perl| |
-------- --------- ------ |
\ | / eCMD
\ | / Code
--------------------- Base
| C Programming API | |
--------------------- |
| ↓
---------------|---------------
|
---------------
| eCMD Plugin |
---------------
|
|
------------
| Hardware |
------------
Building
========
To build eCMD you need to generate a makefile.config
That is done via the config.py script in the top level
To create:
~/ecmd$ ./config.py
Writing /home/user/ecmd/makefile.config
If config.py isn't called, you'll see an error like this:
makefile.base:45: *** makefile.config not found! Please run config.py in ~/ecmd/. Stop.
To build, then invoke make
~/ecmd$ make
The make runs through 4 steps
- creates output directories
- creates any generated source
- builds all source
- runs simple build tests
A build will take about 1-2 minutes
Install
=======
By default, the install is done into an install dir in your repo.
You can change this by setting INSTALL_PATH before calling config.py
~/ecmd$ make install
Documentation
=============
Please see docs/README for instructions on how to generate API documentation
License
=======
See LICENSE