1 # Automatically generated by /home/wsh/projects/can-benchmark/kernel/2.6.33-rt/scripts/mkmakefile: don't edit
6 lastword = $(word $(words $(1)),$(1))
7 makedir := $(dir $(call lastword,$(MAKEFILE_LIST)))
9 MAKEARGS := -C $(shell cd ../../2.6.36; pwd)
10 MAKEARGS += O=$(if $(patsubst /%,,$(makedir)),$(CURDIR)/)$(patsubst %/,%,$(makedir))
12 MAKEFLAGS += --no-print-directory
14 .PHONY: all $(MAKECMDGOALS)
16 all := $(filter-out all Makefile,$(MAKECMDGOALS))
18 KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)
22 $(MAKE) $(MAKEARGS) $(all) ARCH=i386
23 ifeq ($(all),targz-pkg)
24 scp linux-$(KERNELRELEASE).tar.gz root@glab:
25 ssh root@glab 'tar -C / -xf linux-$(KERNELRELEASE).tar.gz; depmod $(KERNELRELEASE)'