diff options
author | Christoffer Dall <cdall@cs.columbia.edu> | 2011-05-05 00:55:04 +0200 |
---|---|---|
committer | Christoffer Dall <cdall@cs.columbia.edu> | 2011-05-05 00:55:04 +0200 |
commit | 224f381d00cc19e7f999a0f9018856a8d2bae988 (patch) | |
tree | c0829202f90d66d3ae1d541bedf5d99d40482ddc | |
parent | dd754be958f3da4908ad0e89d1a6b863024964bf (diff) |
Make variable for kernel source location
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -18,6 +18,7 @@ CPPFLAGS += -DVEXPRESS MONITOR = monitor.S BOOTLOADER = boot.S +KERNEL_SRC = ../linux-kvm-arm KERNEL = uImage FILESYSTEM = filesystem.cpio.gz @@ -35,8 +36,8 @@ clean: rm -f $(IMAGE) boot.o model.lds monitor.o uImage $(KERNEL): ../linux-kvm-arm/arch/arm/boot/zImage - cd ../linux-kvm-arm; make -j4 uImage - cp ../linux-kvm-arm/arch/arm/boot/uImage $(KERNEL) + cd $(KERNEL_SRC); make -j4 uImage + cp $(KERNEL_SRC)/arch/arm/boot/uImage $(KERNEL) $(IMAGE): boot.o monitor.o model.lds $(KERNEL) $(FILESYSTEM) Makefile $(LD) -o $@ --script=model.lds |