forked from confine-project/confine-dist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
60 lines (38 loc) · 1.83 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
** Current options are:
- make target
Execute all needed to have the CONFINE image. This is the default target.
- make prepare
Prepare the download dir if not existing and point the feeds.conf file to the proper place.
- make menuconfig
Provides a ncurses menuconfig from OpenWRT and copy the .config file inside my_configs/
- make kernel_menuconfig
Provides a ncurses menuconfig from the linux kernel and copy the .config file inside my_configs/
- make sync
Syncronize current files/configs directories with openwrt build tree. Needed when you update confie-dist code (git pull).
- make clean
Removes from $(BUILD_DIR) bin/ and build_dir/ directories
- make dirclean
Removes from $(BUILD_DIR) bin/, build_dir/, staging_dir/ and toolchain/ directories
- make distclean
Removes everything you have compiled and configured -- leaves $(BUILD_DIR) like after a clean checkout
- make mrproper
Removes everything leaving just the original files
** Variables:
J = number of process for compilation time
V = verbosity level
For instance: make all V=99 J=4
** Directories
- files/
All files you put inside this directory will be copyied to openwrt root filesystem
- packages/
All packages here will be copyied inside package/ openwrt directory. If you add a new package, remember to do "menuconfig" to select it
- my_configs/
When you execute a menuconfig or kernel_menuconfig, the new config files will be copyied here. So if you want to commit the changes just copy them to configs/ dir
- images/
Output image directory
- openwrt/
OpenWRT source tree
** Output image:
When compilation finishes, you will find the output images inside images/ directory
If you need other kind of images (VMware, VBOX and so on) check inside src/bin/TARGET/ directory (where TARGET can be e.g. x86)
To copy it in a compact flash or usb stick: dd if=images/IMAGE_FILE of=/dev/sdX