From 95dfbf5eb9150d61ff922fb4beebfa5a399229c4 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 5 Jul 2002 22:47:07 +0000 Subject: Only enable elf2flt support when using elf toolchains -Erik --- extra/gcc-uClibc/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'extra/gcc-uClibc/Makefile') diff --git a/extra/gcc-uClibc/Makefile b/extra/gcc-uClibc/Makefile index 249de0367..ba6139a43 100644 --- a/extra/gcc-uClibc/Makefile +++ b/extra/gcc-uClibc/Makefile @@ -32,6 +32,11 @@ ifeq ($(strip $(HAS_MMU)),true) else @echo "#undef HAS_MMU" >> gcc-uClibc.h endif +ifeq ($(strip $(HAS_ELF)),true) + @echo "#define HAS_ELF 1" >> gcc-uClibc.h +else + @echo "#undef HAS_ELF" >> gcc-uClibc.h +endif gcc-uClibc: gcc-uClibc.h gcc-uClibc.c gcc -Wall -O2 -Wl,-s gcc-uClibc.c -o $(TARGET_ARCH)-uclibc-gcc -- cgit v1.2.3