X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=autoMakefile.am;h=01c35a550f7644893489abc611631391e14d46b0;hb=a674871d5f9e4819b3428593e24df6e52096612f;hp=ae9f30aed5dbb0eae92ec0c4fd13bd1d734da237;hpb=83b8634e60a26012d1cfedaea42595a7af02e570;p=fs%2Flustre-release.git diff --git a/autoMakefile.am b/autoMakefile.am index ae9f30a..01c35a5 100644 --- a/autoMakefile.am +++ b/autoMakefile.am @@ -61,15 +61,20 @@ doxygen-%: build/doxyfile.% doxygen $< if MODULES -sources: all-sources +.PHONY: ldiskfs-sources lustre-sources -all-sources: module-symvers +ldiskfs-sources: +if LDISKFS_ENABLED + $(MAKE) sources -C @LDISKFS_SUBDIR@ || exit $$? +endif + +lustre-sources: $(MAKE) sources -C lustre || exit $$? if LINUX all-am: modules -modules: $(DEP) all-sources +modules: ldiskfs-sources lustre-sources module-symvers $(MAKE) CC="$(CC)" $(CROSS_VARS) -C $(LINUX_OBJ) \ -f $(PWD)/build/Makefile LUSTRE_LINUX_CONFIG=$(LINUX_CONFIG) \ LINUXINCLUDE='-I$$(srctree)/arch/$$(SRCARCH)/include -I$$(srctree)/arch/$$(SRCARCH)/include/generated -Iinclude $$(if $$(KBUILD_SRC),-Iinclude2 -I$$(srctree)/include) -I$$(srctree)/arch/$$(SRCARCH)/include/uapi -Iarch/$$(SRCARCH)/include/generated/uapi -I$$(srctree)/include/uapi -Iinclude/generated/uapi -include $(CONFIG_INCLUDE)' \