Subversion Repositories HelenOS-historic

Rev

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

Rev 918 Rev 936
Line 25... Line 25...
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
VMAXLMA_SRC=$(KERNELDIR)/contrib/arch/ia64/vmaxlma.c
29
VMAXLMA_SRC=$(KERNELDIR)/contrib/arch/ia64/vmaxlma.c
30
CROSS_OBJCOPY=/usr/local/ia64/bin/ia64-pc-linux-gnu-objcopy
-
 
31
 
30
 
32
build: kernel.bin
31
build: kernel.bin
33
 
32
 
34
kernel.bin: kernel uspace vmaxlma
33
kernel.bin: kernel uspace vmaxlma
35
	cp $(KERNELDIR)/kernel.bin .
34
	cp $(KERNELDIR)/kernel.bin .
36
	./vmaxlma kernel.bin
35
	./vmaxlma kernel.bin
37
	$(CROSS_OBJCOPY) -O binary $(USPACEDIR)/init/init init
-
 
38
 
36
 
39
vmaxlma: $(VMAXLMA_SRC)
37
vmaxlma: $(VMAXLMA_SRC)
40
	gcc $(VMAXLMA_SRC) -o $@
38
	gcc $(VMAXLMA_SRC) -o $@
41
 
39
 
42
clean: clean_kernel clean_uspace
40
clean: clean_kernel clean_uspace
43
	-rm -f kernel.bin init vmaxlma
41
	-rm -f kernel.bin vmaxlma
44
 
42
 
45
arch_distclean: distclean_kernel distclean_uspace
43
arch_distclean: distclean_kernel distclean_uspace