summaryrefslogtreecommitdiff
path: root/ldso/Rules.mak
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-04-26 16:12:47 +0000
committerEric Andersen <andersen@codepoet.org>2001-04-26 16:12:47 +0000
commitd13c6558a88b347301b620949aea496def2790af (patch)
treee1b997a3bfd521213f27b73ca11e5e56aff25990 /ldso/Rules.mak
parent739ce2f15daa305794e3abf25e8bc92f798547f0 (diff)
Be more careful about not hard coding names.
Diffstat (limited to 'ldso/Rules.mak')
-rw-r--r--ldso/Rules.mak17
1 files changed, 17 insertions, 0 deletions
diff --git a/ldso/Rules.mak b/ldso/Rules.mak
new file mode 100644
index 000000000..b293c23d2
--- /dev/null
+++ b/ldso/Rules.mak
@@ -0,0 +1,17 @@
+include $(TOPDIR)Rules.mak
+
+LDSO_VERSION=1.9.11
+LDSO_VMAJOR=$(MAJOR_VERSION)
+DLINKER = ld-linux-uclibc.so
+LIBDL = libdl.so
+
+DEVEL=true
+
+# Do NOT use -fomit-frame-pointer -- It won't work!
+CFLAGS += -DVERSION=\"$(LDSO_VERSION)\"
+
+CC = $(TOPDIR)extra/gcc-uClibc/$(NATIVE_ARCH)-uclibc-gcc
+ifeq ($(DEVEL),true)
+ CFLAGS += -DUCLIBC_INSTALL_DIR=\"/usr/$(TARGET_ARCH)-linux-uclibc\"
+ CFLAGS += -DUCLIBC_DEVEL
+endif