summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-06-18 20:05:49 +0000
committerEric Andersen <andersen@codepoet.org>2001-06-18 20:05:49 +0000
commit08e0c24b47a9abfd5536ee0cda1d0204bf7cc93c (patch)
treed7132ca3f2d25babc68ad5da777e731bee6c5abd /Makefile
parent4db5f2c0a1e1a310c51bf2612a9e08dc22262b1e (diff)
This commit finishes adding support for the old m68k-coff toolchains by
working around a missing header file in the compiler shipped with the uCsimm and uCdimm. This should make the folk in Toronto happy, since now they can use the latest CVS version of uClibc. -Erik
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4c95a4830..7516209e8 100644
--- a/Makefile
+++ b/Makefile
@@ -82,7 +82,7 @@ headers: dummy
(cd include/bits; ln -sf ../../../../../uClibc_config.h uClibc_config.h)
$(MAKE) -C libc/sysdeps/linux/$(TARGET_ARCH) headers
-uClibc_config.h: Config
+uClibc_config.h: Makefile Config
@echo "/* WARNING!!! AUTO-GENERATED FILE!!! DO NOT EDIT!!! */" > uClibc_config.h
@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
@@ -130,6 +130,11 @@ uClibc_config.h: Config
else \
echo "#define HAVE_ELF 1" >> uClibc_config.h ; \
fi
+ @if [ "$(HAVE_SHARED)" = "false" ] ; then \
+ echo "#undef HAVE_SHARED" >> uClibc_config.h ; \
+ else \
+ echo "#define HAVE_SHARED 1" >> uClibc_config.h ; \
+ fi
@if [ "$(TARGET_ARCH)" = "sh" ] ; then \
echo "#define NO_UNDERSCORES 1" >> uClibc_config.h ; \
else \