]>
Commit | Line | Data |
---|---|---|
e7982b05 | 1 | # TODO: |
9296731a | 2 | # - sparc64 modules support in sparc(32), x86_64 modules support in i386 version |
b45e83f9 | 3 | # - make internal commands work even if busybox is not in /bin/busybox (initrd) |
4 | # or when /proc is not mounted (static / normal) | |
598da0d3 | 5 | # |
2678f462 | 6 | # Conditional build: |
b5011fd7 | 7 | # alternative busybox config file (replaces default one) you should |
4a69c6c5 | 8 | # define cfgfile macro, i.e. |
d635bde0 | 9 | # |
6f6b5afa | 10 | # rpm --rebuild busybox.*.src.rpm --with altconfig --define "cfgfile bb-emb-config.h" |
2678f462 JB |
11 | %bcond_with altconfig # use alternative config (defined by cfgfile) |
12 | %bcond_with linkfl # creates links to busybox binary and puts them into file list | |
d635bde0 | 13 | # Options below are useful, when you want fileutils and grep providing. |
14 | # For example, ash package requires fileutils and grep. | |
2678f462 JB |
15 | %bcond_with fileutl_prov # adds fileutils providing |
16 | %bcond_with grep_prov # adds grep providing | |
d635bde0 | 17 | # Option below is useful, when busybox is built with shell support. |
2678f462 | 18 | %bcond_with sh_prov # adds /bin/sh providing |
6b50dd3e | 19 | # WARNING! Shell, fileutils and grep providing may depend on config file! |
d635bde0 | 20 | # Fileutils, grep and shell provided with busybox have not such |
21 | # functionality as their GNU countenders. | |
2678f462 JB |
22 | # |
23 | %bcond_without static # don't build static version | |
24 | %bcond_without initrd # don't build initrd version | |
95f61a42 | 25 | #%%bcond_with dietlibc # build dietlibc-based initrd version |
2678f462 JB |
26 | %bcond_with glibc # build glibc-based initrd version |
27 | # | |
9922ba41 | 28 | %ifnarch %{ix86} %{x8664} ppc sparc64 |
1735ff25 MM |
29 | %define with_glibc 1 |
30 | %endif | |
9a45af3a | 31 | %ifarch ppc |
32 | %undefine with_dietlibc | |
33 | %endif | |
ee61dafa | 34 | Summary: Set of common unix utils for embeded systems |
b7f899e9 | 35 |