diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -723,6 +723,11 @@ libs-y1 := $(patsubst %/, %/lib.a, $(libs-y)) | |||
723 | libs-y2 := $(patsubst %/, %/built-in.o, $(libs-y)) | 723 | libs-y2 := $(patsubst %/, %/built-in.o, $(libs-y)) |
724 | libs-y := $(libs-y1) $(libs-y2) | 724 | libs-y := $(libs-y1) $(libs-y2) |
725 | 725 | ||
726 | # externally visible symbols | ||
727 | export KBUILD_VMLINUX_INIT := $(head-y) $(init-y) | ||
728 | export KBUILD_VMLINUX_MAIN := $(core-y) $(libs-y) $(drivers-y) $(net-y) | ||
729 | export KBUILD_LDS := arch/$(SRCARCH)/kernel/vmlinux.lds | ||
730 | |||
726 | # Build vmlinux | 731 | # Build vmlinux |
727 | # --------------------------------------------------------------------------- | 732 | # --------------------------------------------------------------------------- |
728 | # vmlinux is built from the objects selected by $(vmlinux-init) and | 733 | # vmlinux is built from the objects selected by $(vmlinux-init) and |