diff options
author | Bernd Schmidt <bernds_cb1@t-online.de> | 2007-11-23 17:57:32 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds_cb1@t-online.de> | 2007-11-23 17:57:32 +0000 |
commit | f1e85d44f964341ce2bcdc0c271df593c37acb2b (patch) | |
tree | 61631d13eb4797927137f65af52798e390ad7c08 | |
parent | 38c0a1e4cd50926863dd7e380aa7fe83d71508f9 (diff) |
Add necessary Makefile rules for the Blackfin.
-rw-r--r-- | Rules.mak | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -306,6 +306,18 @@ ifeq ($(TARGET_ARCH),powerpc) endif +ifeq ($(TARGET_ARCH),bfin) +ifeq ($(UCLIBC_FORMAT_FDPIC_ELF),y) + CPU_CFLAGS-y:=-mfdpic + CPU_LDFLAGS-y += -Wl,-melf32bfinfd + PICFLAG:=-fpic + PIEFLAG_NAME:=-fpie +endif +ifeq ($(UCLIBC_FORMAT_SHARED_FLAT),y) + PICFLAG := -mleaf-id-shared-library +endif +endif + ifeq ($(TARGET_ARCH),frv) CPU_LDFLAGS-$(CONFIG_FRV)+=-Wl,-melf32frvfd # Using -pie causes the program to have an interpreter, which is |