|
@@ -23,13 +23,13 @@ clean:
|
|
|
rm -f gcc-uClibc.h gcc-uClibc-* core
|
|
|
|
|
|
gcc-uClibc.h: clean
|
|
|
- echo "/* this file is created by make */" > gcc-uClibc.h
|
|
|
- echo "#define UCLIBC_DIR " \"$(UCLIBC_DIR)/\" >> gcc-uClibc.h
|
|
|
- echo "#define GCC_BIN " \"$(GCC_BIN)\" >> gcc-uClibc.h
|
|
|
- echo "#define GCC_LIB " \"$(GCC_LIB)\" >> gcc-uClibc.h
|
|
|
- echo "#define GCC_INCDIR " \"-I$(GCCINCDIR)/\" >> gcc-uClibc.h
|
|
|
- echo "#define TARGET_ARCH " \"$(TARGET_ARCH)\" >> gcc-uClibc.h
|
|
|
- echo "#define DYNAMIC_LINKER " \"$(DYNAMIC_LINKER)\" >> gcc-uClibc.h
|
|
|
+ @echo "/* this file is created by make */" > gcc-uClibc.h
|
|
|
+ @echo "#define UCLIBC_DIR " \"$(UCLIBC_DIR)/\" >> gcc-uClibc.h
|
|
|
+ @echo "#define GCC_BIN " \"$(GCC_BIN)\" >> gcc-uClibc.h
|
|
|
+ @echo "#define GCC_LIB " \"$(GCC_LIB)\" >> gcc-uClibc.h
|
|
|
+ @echo "#define GCC_INCDIR " \"-I$(GCCINCDIR)/\" >> gcc-uClibc.h
|
|
|
+ @echo "#define TARGET_ARCH " \"$(TARGET_ARCH)\" >> gcc-uClibc.h
|
|
|
+ @echo "#define DYNAMIC_LINKER " \"$(DYNAMIC_LINKER)\" >> gcc-uClibc.h
|
|
|
|
|
|
# uClibc built for native environment, so why not use it ;-)
|
|
|
# Use the system libc instead of uClibc, to facilitate bootstrapping
|
|
@@ -42,10 +42,10 @@ gcc-uClibc.h: clean
|
|
|
# -s -o gcc-uClibc-$(TARGET_ARCH) #-DDEBUG
|
|
|
|
|
|
gcc-uClibc-native: gcc-uClibc.h gcc-uClibc.c
|
|
|
- # don't use CFLAGS since may not be appropriate
|
|
|
+# don't use CFLAGS since may not be appropriate
|
|
|
gcc -s gcc-uClibc.c -o gcc-uClibc-$(TARGET_ARCH)
|
|
|
|
|
|
gcc-uClibc-cross: gcc-uClibc.h gcc-uClibc.c
|
|
|
- # don't use CFLAGS since may not be appropriate
|
|
|
+# don't use CFLAGS since may not be appropriate
|
|
|
gcc -s gcc-uClibc.c -o gcc-uClibc-$(TARGET_ARCH)
|
|
|
|