X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=build%2FMakefile;h=d732afcd03128281786cfd1fc5c6ebf8bb01f145;hp=11c9c6ec622f7ada91842460be81ac2ff46e649b;hb=5c033757a9a36b83bf891715e683ed06a4bded8e;hpb=b85e9c4dfd29edafbef5cf045b8a839997d15389 diff --git a/build/Makefile b/build/Makefile index 11c9c6e..d732afc 100644 --- a/build/Makefile +++ b/build/Makefile @@ -1,7 +1,7 @@ # # There are four ways this Makefile can be called: # -# +# # 1. As a subdirectory from the toplevel, for automake # # 2. A wrapper around the kernel's makefile when building modules, to @@ -10,8 +10,6 @@ # 3. At configure time, as the toplevel module dir for building # kernel tests # -# 4. At configure time, to determine the kernel's idea of $(ARCH) -# ifeq ($(PATCHLEVEL),) @@ -32,25 +30,11 @@ endif # LUSTRE_LINUX_CONFIG else # PATCHLEVEL -# case 3 - +# case #3 ifneq ($(LUSTRE_KERNEL_TEST),) -ifeq ($(PATCHLEVEL),4) -all: $(LUSTRE_KERNEL_TEST) -else extra-y = $(LUSTRE_KERNEL_TEST) endif -endif obj-m := conftest.o -ifeq ($(PATCHLEVEL),4) -include $(TOPDIR)/Rules.make -endif - endif # PATCHLEVEL - -# case 4 - -echoarch: - echo $(ARCH) >$(ARCHFILE)