summaryrefslogtreecommitdiffstats
path: root/rules/rootfs.in
blob: 7ac5f381f202ef3b38da052919f9648d8a1635b4 (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
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
menu	"Root Filesystem     "

config ROOTFS
	bool
	prompt "Populate root filesystem"
	default y

config ROOTFS_DEV
	depends on ROOTFS
	bool
	prompt "Create /dev"
	default y

config ROOTFS_ETC
	depends on ROOTFS
	bool
	prompt "Use generic template for /etc"
	default y
	help
	  When enabled, this option copies the files from 
	  $(TOPDIR)/etc/generic/ to the target root filesystem. 
	  The files contain useful defaults for most projects, so
	  if you don't intend to use your completely self-made etc
	  directory you should problably switch this on. 

config ROOTFS_FLOPPY
	depends on ROOTFS
	bool
	prompt "Create /floppy"
	default y

config ROOTFS_HOME
	depends on ROOTFS
	bool
	prompt "Create /home"
	default y

config ROOTFS_MNT
	depends on ROOTFS
	bool
	prompt "Create /mnt"
	default y

config ROOTFS_PROC
	depends on ROOTFS
	bool
	prompt "Create /proc"
	default y 

config ROOTFS_SYS
	depends on ROOTFS
	bool
	prompt "Create /sys"
	default y

config ROOTFS_TMP
	depends on ROOTFS
	bool
	prompt "Create /tmp"
	default y

config ROOTFS_VAR
	depends on ROOTFS
	bool
	prompt "Create /var"
	default y

config VENDORTWEAKS
	string
	prompt "Run vendor Makefile at the end of build"
	help
	  At the end of the build the target vendor-tweaks.targetinstall
	  is run from the Makefile you specify here. The name you give
	  here is searched in rules/vendor-tweaks; this is normally a 
	  *.make file.  

comment "Image Creation"

config IMAGE_TGZ
	bool
	default n
	prompt "Generate images/root.tgz"
	help
	  Build a tar.gz archive of the root filesystem, containing the
	  right owner/group and access permissions. 

config IMAGE_HD
	bool
	default n
	prompt "Generate images/hd.img"
	help
	  Build a harddisk root image

config IMAGE_HD_CONF
	string
	prompt "Geometry file for hd image"
	help

config IMAGE_JFFS2
	bool
	default n
	select MTD_XCHAIN_MKJFFS2
	select MTD_XCHAIN
	prompt "Generate images/root.jffs2"
	help
	  Build a jffs2 image of the root filesystem

config IMAGE_JFFS2_BLOCKSIZE
	int
	default -1
	prompt "Erase Block Size"
	depends on IMAGE_JFFS2

endmenu