diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-03-19 06:29:14 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-03-19 06:29:14 +0000 |
commit | 3a1407ff3bb4e1fc448dfe5325caaeb891eb5411 (patch) | |
tree | 460bdb370c01ff2df852f8241787f67eb08e884d | |
parent | e2f6ebd3f2969753e4ffc337ce5fb6cdf9d74775 (diff) |
Move yet more stuff into the uClibc_config.h file
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | Rules.mak | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -147,6 +147,8 @@ uClibc_config.h: Config @echo "#if !defined __FEATURES_H && !defined __need_uClibc_config_h" >> uClibc_config.h @echo "#error Never include <bits/uClibc_config.h> directly; use <features.h> instead." >> uClibc_config.h @echo "#endif" >> uClibc_config.h + @echo "#define linux 1" >> uClibc_config.h + @echo "#define __linux_ 1" >> uClibc_config.h @if [ "$(HAS_MMU)" = "true" ] ; then \ echo "#define __UCLIBC_HAS_MMU__ 1" >> uClibc_config.h ; \ else \ @@ -34,7 +34,7 @@ endif ARFLAGS=r -CCFLAGS=$(WARNINGS) $(OPTIMIZATION) -fno-builtin -nostdinc $(CPUFLAGS) -Dlinux -D__linux__ -I$(TOPDIR)include -I$(GCCINCDIR) -I. -D__LIBC__ +CCFLAGS=$(WARNINGS) $(OPTIMIZATION) -fno-builtin -nostdinc $(CPUFLAGS) -I$(TOPDIR)include -I$(GCCINCDIR) -I. -D__LIBC__ CFLAGS=$(ARCH_CFLAGS) $(CCFLAGS) $(DEFS) $(ARCH_CFLAGS2) |