X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=Makefile;h=efccd79d09d67b69dfd8d659bd35483b4f88f51f;hb=8870336cc0a68128d301db2b7db579f318abeca5;hp=21c88b2db4bea5ef3e2d162fa5ff78dc2c5f014d;hpb=71f54f529f198ca777c98eb13c58ed4a6db5fc1f;p=project%2Fluci.git diff --git a/Makefile b/Makefile index 21c88b2db..efccd79d0 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,8 @@ include build/config.mk MODULES = contrib/* applications/* libs/* modules/* themes/* i18n/* OS:=$(shell uname) +MODULES:=$(foreach item,$(wildcard $(MODULES)),$(if $(realpath $(wildcard $(item)/Makefile)),$(item))) + export OS .PHONY: all build gccbuild luabuild clean host gcchost luahost hostcopy hostclean