Subversion Repositories HelenOS

Rev

Rev 3022 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3022 Rev 4055
Line 24... Line 24...
24
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
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
#ifeq ($(MACHINE),ski)
-
 
30
 
-
 
31
 
-
 
32
 
-
 
33
#VMAXLMA_SRC = tools/ia64/vmaxlma.c
-
 
34
#build: $(BASE)/kernel.bin
-
 
35
#echo Building SKI
-
 
36
#$(BASE)/kernel.bin: $(KERNELDIR)/kernel.bin vmaxlma
-
 
37
#	cp $(KERNELDIR)/kernel.bin $(BASE)/kernel.bin
-
 
38
#	./vmaxlma $(BASE)/kernel.bin
-
 
39
#vmaxlma: $(VMAXLMA_SRC)
-
 
40
#	$(CC) $(VMAXLMA_SRC) -o $@
-
 
41
#clean:
-
 
42
#	-rm -f $(BASE)/kernel.bin vmaxlma
-
 
43
 
-
 
44
 
-
 
45
#else
-
 
46
 
-
 
47
 
-
 
48
build: $(BASE)/image.boot
29
build: $(BASE)/image.boot
49
 
30
 
50
$(BASE)/image.boot: depend arch/$(ARCH)/loader/image.boot
31
$(BASE)/image.boot: depend arch/$(BARCH)/loader/image.boot
51
	cp arch/$(ARCH)/loader/image.boot $(BASE)/image.boot
32
	cp arch/$(BARCH)/loader/image.boot $(BASE)/image.boot
52
 
33
 
53
depend:
34
depend:
54
	-rm arch/$(ARCH)/loader/image.boot
35
	-rm arch/$(BARCH)/loader/image.boot
55
 
36
 
56
arch/$(ARCH)/loader/image.boot:
37
arch/$(BARCH)/loader/image.boot:
57
	make -C arch/$(ARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) "DEFS=$(DEFS)"
38
	make -C arch/$(BARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR)
58
 
39
 
59
clean: generic_clean
40
clean: generic_clean
60
	make -C arch/$(ARCH)/loader clean COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) "DEFS=$(DEFS)"
41
	make -C arch/$(BARCH)/loader clean COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR)
61
	-rm -f $(BASE)/image.boot
42
	-rm -f $(BASE)/image.boot
62
 
-
 
63
 
-
 
64
#endif
-
 
65
 
43