Add Merlin XU870 (#1303)
[openwrt.git] / include / kernel.mk
index b82668e..b2a7476 100644 (file)
@@ -123,6 +123,12 @@ $(call KernelPackage/$(1)/description)
                  $(call KernelPackage/$(1)/install,$$(1))
       endef
     endif
+  $(if $(CONFIG_PACKAGE_kmod-$(1)),
+    else
+      compile: kmod-$(1)-unavailable
+      kmod-$(1)-unavailable:
+               @echo "WARNING: kmod-$(1) is not available in the kernel config"
+  )
   endif
   $$(eval $$(call BuildPackage,kmod-$(1)))
 
This page took 0.025367 seconds and 4 git commands to generate.