Changeset 41f7564 in mainline for boot/arch/sparc64/Makefile.inc


Ignore:
Timestamp:
2006-07-17T00:53:53Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
231fcb2
Parents:
41c4444
Message:

cleanup and unify the build system

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/sparc64/Makefile.inc

    r41c4444 r41f7564  
    2929TMP=distroot
    3030
    31 build: image.iso
     31build: $(BASE)/image.iso
    3232
    33 image.iso: kernel
    34         make -C arch/$(ARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) IMAGE=$(CONFIG_IMAGE)
     33$(BASE)/image.iso: depend arch/$(ARCH)/loader/image.boot
    3534        mkdir -p $(TMP)/boot
    3635        mkdir -p $(TMP)/HelenOS
     
    3837        cp arch/$(ARCH)/silo/README arch/$(ARCH)/silo/COPYING arch/$(ARCH)/silo/silo.conf $(TMP)/boot
    3938        cp arch/$(ARCH)/loader/image.boot $(TMP)/HelenOS/image.boot
    40         mkisofs -f -G $(TMP)/boot/isofs.b -B ... -r -o image.iso $(TMP)/
     39        mkisofs -f -G $(TMP)/boot/isofs.b -B ... -r -o $(BASE)/image.iso $(TMP)/
    4140
    42 clean: clean_boot_gen clean_kernel
    43          make -C arch/$(ARCH)/loader clean
     41depend:
     42        -rm arch/$(ARCH)/loader/image.boot
     43
     44arch/$(ARCH)/loader/image.boot:
     45        make -C arch/$(ARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR)
     46
     47clean: generic_clean
     48        make -C arch/$(ARCH)/loader clean COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR)
    4449        -rm -fr $(TMP)
    45         -rm -f image.iso
    46 
    47 arch_distclean: distclean_kernel
     50        -rm -f $(BASE)/image.iso
Note: See TracChangeset for help on using the changeset viewer.