ifneq ($(KERNELRELEASE),)
include Kbuild
else
ifeq ($(uml),)
KDIR := /lib/modules/`uname -r`/build
ARCH :=
else
KDIR := /home/andy/current-linux
ARCH := 
endif
TRUSTEES_PWD := $(shell pwd)

all::
	$(MAKE) -C $(KDIR) $(ARCH) M=$(TRUSTEES_PWD) modules

install::
	$(MAKE) -C $(KDIR) $(ARCH) M=$(TRUSTEES_PWD) modules_install

clean::
	$(MAKE) -C $(KDIR) $(ARCH) M=$(TRUSTEES_PWD) clean

endif
