28,12 → 28,22 |
|
TMP=distroot |
|
ifeq ($(OFW_IMPLEMENTATION),smart_firmware) |
DEFS += -DSMART_FIRMWARE |
SILO_PACKAGE=silo.patched.tar.gz |
endif |
|
ifeq ($(OFW_IMPLEMENTATION),open_boot) |
DEFS += -DOPEN_BOOT |
SILO_PACKAGE=silo.tar.gz |
endif |
|
build: $(BASE)/image.iso |
|
$(BASE)/image.iso: depend arch/$(ARCH)/loader/image.boot |
mkdir -p $(TMP)/boot |
mkdir -p $(TMP)/HelenOS |
cat arch/$(ARCH)/silo/silo.tar.gz | (cd $(TMP)/boot; tar xvfz -) |
cat arch/$(ARCH)/silo/$(SILO_PACKAGE) | (cd $(TMP)/boot; tar xvfz -) |
cp arch/$(ARCH)/silo/README arch/$(ARCH)/silo/COPYING arch/$(ARCH)/silo/silo.conf $(TMP)/boot |
cp arch/$(ARCH)/loader/image.boot $(TMP)/HelenOS/image.boot |
gzip -f $(TMP)/HelenOS/image.boot |