summaryrefslogtreecommitdiff
path: root/ldso/Rules.mak
diff options
context:
space:
mode:
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