summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2003-04-29 14:46:31 +0000
committerDavid McCullough <davidm@snapgear.com>2003-04-29 14:46:31 +0000
commitdd7edf2e66c25b0af951a0685e8a7f0f161dc564 (patch)
treec7ef88d3de494ec0ee1c975f696b17594f968d83 /Rules.mak
parent416799ee539e356c3a4bc86485ffb502077ef9fd (diff)
Some small fixups for the h8 support and add the h8s platform support.
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak8
1 files changed, 5 insertions, 3 deletions
diff --git a/Rules.mak b/Rules.mak
index 8513fd51a..25602ff13 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -149,8 +149,10 @@ ifeq ($(strip $(TARGET_ARCH)),sh)
endif
ifeq ($(strip $(TARGET_ARCH)),h8300)
- CPU_LDFLAGS-y:=-mh8300h
- CPU_CFLAGS-y+=-mh -mint32 -fsigned-char
+ CPU_LDFLAGS-$(CONFIG_H8300H):= -ms8300h
+ CPU_LDFLAGS-$(CONFIG_H8S) := -ms8300s
+ CPU_CFLAGS-$(CONFIG_H8300H) += -mh -mint32 -fsigned-char
+ CPU_CFLAGS-$(CONFIG_H8S) += -ms -mint32 -fsigned-char
endif
ifeq ($(strip $(TARGET_ARCH)),cris)
@@ -231,7 +233,7 @@ TARGET_PREFIX = /
# uClinux shared lib support
#
-ifdef CONFIG_BINFMT_SHARED_FLAT
+ifeq ($(CONFIG_BINFMT_SHARED_FLAT),y)
# For the shared version of this, we specify no stack and its library ID
FLTFLAGS += -s 0
LIBID=1