UPSTREAM: arm64: Only select ARM64_MODULE_PLTS if MODULES=y
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / Kconfig
index 5cca6d7d803e0ade9db4700ec3f788f33d0df834..a5019f2afa9cad8ae93886a254200eb02830a860 100644 (file)
@@ -804,7 +804,7 @@ config RELOCATABLE
 
 config RANDOMIZE_BASE
        bool "Randomize the address of the kernel image"
-       select ARM64_MODULE_PLTS
+       select ARM64_MODULE_PLTS if MODULES
        select RELOCATABLE
        help
          Randomizes the virtual address at which the kernel image is