X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/37e17a5510486edb969a606c05c2c88f8c289a88..3c734006ee3a0c2d86eb36c7709780b84c819c73:/kernel/build/glab-2.6.36/GNUmakefile diff --git a/kernel/build/glab-2.6.36/GNUmakefile b/kernel/build/glab-2.6.36/GNUmakefile new file mode 100644 index 0000000..48e0a51 --- /dev/null +++ b/kernel/build/glab-2.6.36/GNUmakefile @@ -0,0 +1,30 @@ +# Automatically generated by /home/wsh/projects/can-benchmark/kernel/2.6.33-rt/scripts/mkmakefile: don't edit + +VERSION = 2 +PATCHLEVEL = 6 + +lastword = $(word $(words $(1)),$(1)) +makedir := $(dir $(call lastword,$(MAKEFILE_LIST))) + +MAKEARGS := -C $(shell cd ../../2.6.36; pwd) +MAKEARGS += O=$(if $(patsubst /%,,$(makedir)),$(CURDIR)/)$(patsubst %/,%,$(makedir)) + +MAKEFLAGS += --no-print-directory + +.PHONY: all $(MAKECMDGOALS) + +all := $(filter-out all Makefile,$(MAKECMDGOALS)) + +all: + $(MAKE) $(MAKEARGS) $(all) ARCH=i386 +ifeq ($(all),targz-pkg) + scp linux-2.6.36.1.tar.gz root@glab: + ssh root@glab 'tar -C / -xf linux-2.6.36.1.tar.gz; depmod 2.6.36.1' +endif + + +Makefile:; + +$(all) %/: all + @: +