aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/Makefile
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2015-03-08 11:10:45 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2015-03-08 11:10:45 +0100
commit6c50033dfb7a4dc7094d96f9339459b08b4efac9 (patch)
treeb3c8032d95620c2eb009273adb675c699b8a5a94 /src/kernel/Makefile
parent88636d28b812e425c51be2d4d24d16a504dae147 (diff)
downloadkogata-6c50033dfb7a4dc7094d96f9339459b08b4efac9.tar.gz
kogata-6c50033dfb7a4dc7094d96f9339459b08b4efac9.zip
Add PRNG
Diffstat (limited to 'src/kernel/Makefile')
-rw-r--r--src/kernel/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/Makefile b/src/kernel/Makefile
index 88a83e2..1a7c12e 100644
--- a/src/kernel/Makefile
+++ b/src/kernel/Makefile
@@ -2,14 +2,14 @@
OBJ = core/loader.o core/dbglog.o \
core/gdt.o core/idt.o core/interrupt.o core/context_switch.o core/thread.o \
core/frame.o core/paging.o core/freemem.o core/region.o core/kmalloc.o \
- core/worker.o \
+ core/worker.o core/prng.o \
user/vfs.o user/nullfs.o user/process.o user/elf.o user/syscall.o \
dev/pci.o dev/pciide.o \
fs/iso9660.o
LIB = ../common/libc/libc.lib ../common/libkogata/libkogata.lib ../common/libalgo/libalgo.lib
-CFLAGS = -I ./include -I ../common/include
+CFLAGS = -I ./include -I ../common/include -DPRNG_INIT_ENTROPY=$(shell date +%N)
LDFLAGS = -T linker.ld -Xlinker -Map=kernel.map