]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - kernel/build/shark/GNUmakefile
Copy shark kernel to boot/images directory
[can-benchmark.git] / kernel / build / shark / GNUmakefile
index 5a4f7a063efcce37051eccee403820ea50b80c78..f16ccbb2e7cd92174af4760544d4a8ff64d8c302 100644 (file)
@@ -8,7 +8,7 @@ MYDIR := $(shell basename $(CURDIR))
 MYSRC := $(shell cd ../../../$(MYDIR); pwd)
 
 ARCH=powerpc
-CROSS_COMPILE=powerpc-linux-gnu-
+CROSS_COMPILE=/opt/OSELAS.Toolchain-2012.12.1/powerpc-603e-linux-gnu/gcc-4.7.2-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/powerpc-603e-linux-gnu-
 
 MAKEARGS := -C $(MYSRC)
 MAKEARGS += O=$(if $(patsubst /%,,$(makedir)),$(CURDIR)/)$(patsubst %/,%,$(makedir))
@@ -19,13 +19,10 @@ MAKEFLAGS += --no-print-directory
 
 all    := $(filter-out all Makefile install,$(MAKECMDGOALS))
 
-TFTPHOST=glab
-TFTPBOOT=/var/lib/tftpboot/ryu
 KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)
 install: all
-       scp arch/powerpc/boot/shark-ryu.dtb $(TFTPHOST):$(TFTPBOOT); \
-       scp arch/powerpc/boot/uImage $(TFTPHOST):$(TFTPBOOT)/uImage-$(KERNELRELEASE); \
-       ssh $(TFTPHOST) ln -svf uImage-$(KERNELRELEASE) $(TFTPBOOT)/uImage
+       cp arch/powerpc/boot/shark-ryu.dtb ../../../../boot/images
+       cp arch/powerpc/boot/uImage ../../../../boot/images
 
 all:
 ifneq ($(MAKECMDGOALS),install)