Changeset 28856


Ignore:
Timestamp:
2011-11-08T15:00:36+01:00 (6 years ago)
Author:
nico
Message:

include/kernel.mk: enhance built-in/missing modules detection when packaging kmods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/kernel.mk

    r28650 r28856  
    158158                                mkdir -p $$(1)/$(MODULES_SUBDIR) ; \ 
    159159                                $(CP) -L $$$$$$$$mod $$(1)/$(MODULES_SUBDIR)/ ; \ 
     160                        elif  grep -q "$$$$$$$${mod##$(LINUX_DIR)/}" "$(LINUX_DIR)/modules.builtin"; then \ 
     161                                echo "NOTICE: module '$$$$$$$$mod' is built-in."; \ 
    160162                        else \ 
    161                                 echo "WARNING: module '$$$$$$$$mod' does not exist, is it built-in?" ; \ 
     163                                echo "ERROR: module '$$$$$$$$mod' is missing."; \ 
     164                                exit 1; \ 
    162165                        fi; \ 
    163166                  done; 
Note: See TracChangeset for help on using the changeset viewer.