Rev 3491 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3491 | Rev 3672 | ||
---|---|---|---|
Line 26... | Line 26... | ||
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | # |
27 | # |
28 | 28 | ||
29 | TMP = distroot |
29 | TMP = distroot |
30 | 30 | ||
- | 31 | ifeq ($(CONFIG_AOUT_ISOFS_B),n) |
|
- | 32 | SILO_PACKAGE=silo.patched.tar.gz |
|
- | 33 | endif |
|
- | 34 | ||
- | 35 | ifeq ($(CONFIG_AOUT_ISOFS_B),y) |
|
- | 36 | SILO_PACKAGE=silo.tar.gz |
|
- | 37 | endif |
|
- | 38 | ||
31 | build: $(BASE)/image.iso |
39 | build: $(BASE)/image.iso |
32 | 40 | ||
33 | ifeq ($(CONFIG_RD_EXTERNAL),y) |
41 | ifeq ($(CONFIG_RD_EXTERNAL),y) |
34 | SILO_CONF_FILTER = cat |
42 | SILO_CONF_FILTER = cat |
35 | else |
43 | else |
Line 37... | Line 45... | ||
37 | endif |
45 | endif |
38 | 46 | ||
39 | $(BASE)/image.iso: depend arch/$(ARCH)/loader/image.boot |
47 | $(BASE)/image.iso: depend arch/$(ARCH)/loader/image.boot |
40 | mkdir -p $(TMP)/boot |
48 | mkdir -p $(TMP)/boot |
41 | mkdir -p $(TMP)/HelenOS |
49 | mkdir -p $(TMP)/HelenOS |
42 | cat arch/$(ARCH)/silo/silo.tar.gz | (cd $(TMP)/boot; tar xvfz -) |
50 | cat arch/$(ARCH)/silo/$(SILO_PACKAGE) | (cd $(TMP)/boot; tar xvfz -) |
43 | cp arch/$(ARCH)/silo/README arch/$(ARCH)/silo/COPYING $(TMP)/boot |
51 | cp arch/$(ARCH)/silo/README arch/$(ARCH)/silo/COPYING $(TMP)/boot |
44 | cat arch/$(ARCH)/silo/silo.conf | $(SILO_CONF_FILTER) >$(TMP)/boot/silo.conf |
52 | cat arch/$(ARCH)/silo/silo.conf | $(SILO_CONF_FILTER) >$(TMP)/boot/silo.conf |
45 | cp arch/$(ARCH)/loader/image.boot $(TMP)/HelenOS/image.boot |
53 | cp arch/$(ARCH)/loader/image.boot $(TMP)/HelenOS/image.boot |
46 | gzip -f $(TMP)/HelenOS/image.boot |
54 | gzip -f $(TMP)/HelenOS/image.boot |
47 | ifeq ($(CONFIG_RD_EXTERNAL),y) |
55 | ifeq ($(CONFIG_RD_EXTERNAL),y) |