fix kmod-* build error when wildcards are being used in $(FILES)
[openwrt/svn-archive/archive.git] / include / kernel.mk
index 119de8687e03c8391fa4d979df3baeb5acd2564a..00a7882acbb9add2330a3f686c5438c978db4f3b 100644 (file)
@@ -108,7 +108,7 @@ define KernelPackage
   endif
   $$(eval $$(call BuildPackage,kmod-$(1)))
 
   endif
   $$(eval $$(call BuildPackage,kmod-$(1)))
 
-  $$(IPKG_kmod-$(1)): $$(FILES)
+  $$(IPKG_kmod-$(1)): $$(wildcard $$(FILES))
 endef
 
 define AutoLoad
 endef
 
 define AutoLoad