|
|
@ -81,11 +81,11 @@ define BuildKernel |
|
|
|
( \
|
|
|
|
( \
|
|
|
|
echo '#define SYMTAB_KEEP \'; \
|
|
|
|
echo '#define SYMTAB_KEEP \'; \
|
|
|
|
cat $(KERNEL_BUILD_DIR)/sym_include.txt | \
|
|
|
|
cat $(KERNEL_BUILD_DIR)/sym_include.txt | \
|
|
|
|
awk '{print "*(__ksymtab." $$$$1 ") \\" }'; \
|
|
|
|
awk '{print "*(___ksymtab+" $$$$1 ") \\" }'; \
|
|
|
|
echo; \
|
|
|
|
echo; \
|
|
|
|
echo '#define SYMTAB_KEEP_GPL \'; \
|
|
|
|
echo '#define SYMTAB_KEEP_GPL \'; \
|
|
|
|
cat $(KERNEL_BUILD_DIR)/sym_include.txt | \
|
|
|
|
cat $(KERNEL_BUILD_DIR)/sym_include.txt | \
|
|
|
|
awk '{print "*(__ksymtab_gpl." $$$$1 ") \\" }'; \
|
|
|
|
awk '{print "*(___ksymtab_gpl+" $$$$1 ") \\" }'; \
|
|
|
|
echo; \
|
|
|
|
echo; \
|
|
|
|
echo '#define SYMTAB_KEEP_STR \'; \
|
|
|
|
echo '#define SYMTAB_KEEP_STR \'; \
|
|
|
|
cat $(KERNEL_BUILD_DIR)/sym_include.txt | \
|
|
|
|
cat $(KERNEL_BUILD_DIR)/sym_include.txt | \
|
|
|
@ -93,11 +93,11 @@ define BuildKernel |
|
|
|
echo; \
|
|
|
|
echo; \
|
|
|
|
echo '#define SYMTAB_DISCARD \'; \
|
|
|
|
echo '#define SYMTAB_DISCARD \'; \
|
|
|
|
cat $(KERNEL_BUILD_DIR)/sym_exclude.txt | \
|
|
|
|
cat $(KERNEL_BUILD_DIR)/sym_exclude.txt | \
|
|
|
|
awk '{print "*(__ksymtab." $$$$1 ") \\" }'; \
|
|
|
|
awk '{print "*(___ksymtab+" $$$$1 ") \\" }'; \
|
|
|
|
echo; \
|
|
|
|
echo; \
|
|
|
|
echo '#define SYMTAB_DISCARD_GPL \'; \
|
|
|
|
echo '#define SYMTAB_DISCARD_GPL \'; \
|
|
|
|
cat $(KERNEL_BUILD_DIR)/sym_exclude.txt | \
|
|
|
|
cat $(KERNEL_BUILD_DIR)/sym_exclude.txt | \
|
|
|
|
awk '{print "*(__ksymtab_gpl." $$$$1 ") \\" }'; \
|
|
|
|
awk '{print "*(___ksymtab_gpl+" $$$$1 ") \\" }'; \
|
|
|
|
echo; \
|
|
|
|
echo; \
|
|
|
|
echo '#define SYMTAB_DISCARD_STR \'; \
|
|
|
|
echo '#define SYMTAB_DISCARD_STR \'; \
|
|
|
|
cat $(KERNEL_BUILD_DIR)/sym_exclude.txt | \
|
|
|
|
cat $(KERNEL_BUILD_DIR)/sym_exclude.txt | \
|
|
|
|