Rev 3343 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3343 | Rev 3365 | ||
---|---|---|---|
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 ($(OFW_IMPLEMENTATION),smart_firmware) |
|
- | 32 | DEFS += -DSMART_FIRMWARE |
|
- | 33 | SILO_PACKAGE=silo.patched.tar.gz |
|
- | 34 | endif |
|
- | 35 | ||
- | 36 | ifeq ($(OFW_IMPLEMENTATION),open_boot) |
|
- | 37 | DEFS += -DOPEN_BOOT |
|
- | 38 | SILO_PACKAGE=silo.tar.gz |
|
- | 39 | endif |
|
- | 40 | ||
31 | build: $(BASE)/image.iso |
41 | build: $(BASE)/image.iso |
32 | 42 | ||
33 | $(BASE)/image.iso: depend arch/$(ARCH)/loader/image.boot |
43 | $(BASE)/image.iso: depend arch/$(ARCH)/loader/image.boot |
34 | mkdir -p $(TMP)/boot |
44 | mkdir -p $(TMP)/boot |
35 | mkdir -p $(TMP)/HelenOS |
45 | mkdir -p $(TMP)/HelenOS |
36 | cat arch/$(ARCH)/silo/silo.tar.gz | (cd $(TMP)/boot; tar xvfz -) |
46 | cat arch/$(ARCH)/silo/$(SILO_PACKAGE) | (cd $(TMP)/boot; tar xvfz -) |
37 | cp arch/$(ARCH)/silo/README arch/$(ARCH)/silo/COPYING arch/$(ARCH)/silo/silo.conf $(TMP)/boot |
47 | cp arch/$(ARCH)/silo/README arch/$(ARCH)/silo/COPYING arch/$(ARCH)/silo/silo.conf $(TMP)/boot |
38 | cp arch/$(ARCH)/loader/image.boot $(TMP)/HelenOS/image.boot |
48 | cp arch/$(ARCH)/loader/image.boot $(TMP)/HelenOS/image.boot |
39 | gzip -f $(TMP)/HelenOS/image.boot |
49 | gzip -f $(TMP)/HelenOS/image.boot |
40 | mkisofs -f -G $(TMP)/boot/isofs.b -B ... -r -o $(BASE)/image.iso $(TMP)/ |
50 | mkisofs -f -G $(TMP)/boot/isofs.b -B ... -r -o $(BASE)/image.iso $(TMP)/ |
41 | 51 |