X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=Makefile;h=5082f7e7290de1e52d6e7e70976a2a618e3b3680;hb=471f103e530b97c1125acdab259043dd7f252fe9;hp=33e35738bb57b57ee4b73be9d519dd69a3569134;hpb=96dafaf44dd2bb9068e3fb59bd80c1bf400b83ac;p=coreboot.git diff --git a/Makefile b/Makefile index 33e35738b..5082f7e72 100644 --- a/Makefile +++ b/Makefile @@ -176,7 +176,7 @@ includemakefiles= \ $(foreach class,$(classes), \ $(eval $(class)-srcs+= \ $$(subst $(top)/,, \ - $$(abspath $$(addprefix $(dir $(1)),$$($(class)-y)))))) \ + $$(abspath $$(subst $(dir $(1))/,/,$$(addprefix $(dir $(1)),$$($(class)-y))))))) \ $(foreach special,$(special-classes), \ $(foreach item,$($(special)-y), $(call $(special)-handler,$(dir $(1)),$(item)))) \ $(eval subdirs+=$$(subst $(CURDIR)/,,$$(abspath $$(addprefix $(dir $(1)),$$(subdirs-y))))) @@ -237,7 +237,9 @@ printall: endif +ifndef NOMKDIR $(shell mkdir -p $(obj) $(objutil)/kconfig/lxdialog $(additional-dirs) $(alldirs)) +endif cscope: cscope -bR