#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...

O_TARGET := drivers.o
O_OBJS	 := l4_proc.o

include $(TOPDIR)/Rules.make

linux_config.h: $(TOPDIR)/.config
	@echo "char linux_config[]=\"" > .linux_config.h
	@echo "# ARCH = L4, L4ARCH = x86" >> .linux_config.h
	@cat $(TOPDIR)/.config | sed "s/\"/\\\\\"/g" >> .linux_config.h
	@echo "\";" >> .linux_config.h
	@mv -f .linux_config.h $@

l4_proc.o: linux_config.h

