summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-05-18 16:39:21 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-05-18 16:39:21 +0000
commit7ebfa9347d6be17e140f6510deda0cc5e7d4b3c4 (patch)
tree749f3ac7cecddf539373afbf4f35157ab84ff263
parentAdded C++ rule. (diff)
downloadrtems-7ebfa9347d6be17e140f6510deda0cc5e7d4b3c4.tar.bz2
Switched to using shared gcc-target-default.cfg.
-rw-r--r--make/custom/HPUX9-posix.cfg10
-rw-r--r--make/custom/Linux-posix.cfg3
-rw-r--r--make/custom/Solaris-posix.cfg9
3 files changed, 10 insertions, 12 deletions
diff --git a/make/custom/HPUX9-posix.cfg b/make/custom/HPUX9-posix.cfg
index d29080c7d6..7adcb73267 100644
--- a/make/custom/HPUX9-posix.cfg
+++ b/make/custom/HPUX9-posix.cfg
@@ -16,6 +16,10 @@ RTEMS_UNIX_FLAVOR=hpux
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=posix
+# share the posix bsp
+TARGET_ARCH=o-hpux9
+RTEMS_BSP=posix
+
include $(RTEMS_ROOT)/make/custom/default.cfg
# use the macros instead of the inline functions
@@ -23,10 +27,6 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
INLINE=macros
INLINE_UPCASE=MACRO
-## Target compiler config file, if any
-CC_$(TARGET_ARCH)_DIR=$(CC_$(HOST_ARCH)_DIR)
-CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg
-
# RTEMS_LIBC_DIR must already be set (by configuration) DOES NOT MATTER
LIBC_DEFINES=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED -DRTEMS_DEBUG
@@ -46,8 +46,6 @@ HAS_KA9Q=no
# This target does NOT support the POSIX API.
HAS_POSIX_API=no
-HAS_POSIX_API=no
-
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
CFLAGS_OPTIMIZE_V = -O2
diff --git a/make/custom/Linux-posix.cfg b/make/custom/Linux-posix.cfg
index ea0877d87a..386845747e 100644
--- a/make/custom/Linux-posix.cfg
+++ b/make/custom/Linux-posix.cfg
@@ -18,9 +18,6 @@ RTEMS_BSP=posix
include $(RTEMS_ROOT)/make/custom/default.cfg
-## Target compiler config file, if any
-CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg
-
# DO NOT Use the LIBC support for CYGNUS newlib
RTEMS_USE_NEWLIB=no
diff --git a/make/custom/Solaris-posix.cfg b/make/custom/Solaris-posix.cfg
index 1389a83a2e..e7698f122e 100644
--- a/make/custom/Solaris-posix.cfg
+++ b/make/custom/Solaris-posix.cfg
@@ -85,9 +85,12 @@ define make-exe
$(SIZE) $@
endef
else
-#
-# gcc28 not yet supported
-#
+# NOTE: Untested
+define make-exe
+ $(CC) -v $(CFLAGS) -o $@ $(LINK_OBJS)
+ $(NM) -ng $@ > $(basename $@).num
+ $(SIZE) $@
+endef
endif