12345678910111213141516171819202122 |
- all:
- @echo ""
- CFLAGS += -I .
- kallsyms.o: kallsyms.c
- gcc -o kallsyms kallsyms.c
- rm -rf kallsyms.o
- generate_kallsyms: kallsyms.o
- echo "Generating kallsyms..."
- nm -n -C $(kernel_root_path)/kernel | ./kallsyms > kallsyms.S
- $(CC) -c kallsyms.S -o kallsyms.o
- @echo "Kallsyms generated."
- clean:
- rm -rf kallsyms
|