blob: b405b47597a520d2cc7592dd85878d622cc1e253 (
plain)
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
|
# UEFI File Manager (UFM)
A dual pane file manager with a text based user interface for UEFI environment. Distributed under the BSD-2-Clause Plus Patent License.
_Requires EFI Shell v2.0 and above for correct work_
## Installation:
1) Move all files from Library to ShellPkg/Library
2) Add the following line to ShellPkg/ShellPkg.dsc, **section "Components"**:
```
ShellPkg/Library/UefiShellUfmCommandLib/UefiShellUfmCommandLib.inf
```
### If you want to integrate UFM in Shell:
1) Add the following line to ShellPkg/ShellPkg.dsc, **section "LibraryClasses"**, in build of any version of the shell:
```
ShellPkg/Application/Shell/Shell.inf {
...
<LibraryClasses>
...
NULL|ShellPkg/Library/UefiShellUfmCommandLib/UefiShellUfmCommandLib.inf # <- add this line
}
```
### If you want standalone application:
1) Move all files from Application, Include to ShellPkg/Application and ShellPkg/Include
2) Add the following lines to ShellPkg/ShellPkg.dsc:
**Section LibraryClasses.common:**
```
UfmCommandLib|ShellPkg/Library/UefiShellUfmCommandLib/UefiShellUfmCommandLib.inf
```
**Section Components:**
```
ShellPkg/Application/UfmApp/UfmApp.inf
```
3) Add the following line to ShellPkg/ShellPkg.dec, **section "LibraryClasses"**:
```
UfmCommandLib|Include/Library/UfmCommandLib.h
```
|