Subversion Repositories HelenOS

Rev

Rev 2465 | Rev 4669 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2465 Rev 3883
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
build: $(BASE)/image.boot
29
build: $(BASE)/image.boot
30
 
30
 
31
$(BASE)/image.boot: depend arch/$(ARCH)/loader/image.boot
31
$(BASE)/image.boot: depend arch/$(BARCH)/loader/image.boot
32
	cp arch/$(ARCH)/loader/image.boot $(BASE)/image.boot
32
	cp arch/$(BARCH)/loader/image.boot $(BASE)/image.boot
33
 
33
 
34
depend:
34
depend:
35
	-rm arch/$(ARCH)/loader/image.boot
35
	-rm arch/$(BARCH)/loader/image.boot
36
 
36
 
37
arch/$(ARCH)/loader/image.boot:
37
arch/$(BARCH)/loader/image.boot:
38
	make -C arch/$(ARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) IMAGE=$(IMAGE)
38
	make -C arch/$(BARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR)
39
 
39
 
40
clean:
40
clean:
41
	make -C arch/$(ARCH)/loader clean COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) IMAGE=$(IMAGE)
41
	make -C arch/$(BARCH)/loader clean COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR)
42
	-rm -f $(BASE)/image.boot
42
	-rm -f $(BASE)/image.boot