[PATCH 2/5] CPU Jitter RNG: Enable compilation

From: Stephan Mueller
Date: Tue Feb 04 2014 - 07:47:59 EST



Amend Makefile to allow the CPU Jitter RNG code to be statically
compiled.

Signed-off-by: Stephan Mueller <smueller@xxxxxxxxxx>
---
drivers/char/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/char/Makefile b/drivers/char/Makefile
index 290fe5b..480c8f6 100644
--- a/drivers/char/Makefile
+++ b/drivers/char/Makefile
@@ -2,7 +2,8 @@
# Makefile for the kernel character device drivers.
#

-obj-y += mem.o random.o
+obj-y += mem.o random.o jitterentropy-base.o
+CFLAGS_jitterentropy-base.o = -O0
obj-$(CONFIG_TTY_PRINTK) += ttyprintk.o
obj-y += misc.o
obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o
--
1.8.5.3


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/