Ignore:
File:
1 edited

Legend:

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

    r8786aa5 r11f56c7  
    2727#
    2828
    29 include Makefile.common
     29TMP = distroot
    3030
    3131build: $(BASE)/image.iso
    3232
    33 $(BASE)/image.iso: arch/$(BARCH)/loader/image.boot
     33$(BASE)/image.iso: depend arch/$(BARCH)/loader/image.boot
    3434        mkdir -p $(TMP)/boot
    3535        mkdir -p $(TMP)/ppc
     
    4141        mkisofs -hfs -part -map arch/$(BARCH)/yaboot/maps -no-desktop -hfs-volid "HelenOS" -hfs-bless $(TMP)/boot -r -o $@ $(TMP)/
    4242
     43depend:
     44        -rm arch/$(BARCH)/loader/image.boot
     45
    4346arch/$(BARCH)/loader/image.boot:
    44         $(MAKE) -C arch/$(BARCH)/loader PRECHECK=$(PRECHECK)
     47        $(MAKE) -C arch/$(BARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR)
    4548
    4649clean: generic_clean
    47         $(MAKE) -C arch/$(BARCH)/loader clean
    48         rm -fr $(TMP)
    49         rm -f $(BASE)/image.iso
     50        $(MAKE) -C arch/$(BARCH)/loader clean COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR)
     51        -rm -fr $(TMP)
     52        -rm -f $(BASE)/image.iso
Note: See TracChangeset for help on using the changeset viewer.