Skip to content
Commit f2355416 authored by Nicolas Pitre's avatar Nicolas Pitre
Browse files

export.h: allow for per-symbol configurable EXPORT_SYMBOL()



Similar to include/generated/autoconf.h, include/generated/autoksyms.h
will contain a list of defines for each EXPORT_SYMBOL() that we want
active. The format is:

  #define __KSYM_<symbol_name> 1

This list will be auto-generated with another patch.  For now we only
include the preprocessor magic to automatically create or omit the
corresponding struct kernel_symbol declaration.

Given the content of include/generated/autoksyms.h may not be known in
advance, an empty file is created early on to let the build proceed.

Signed-off-by: default avatarNicolas Pitre <nico@linaro.org>
Acked-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 9895c03d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment