forked from Imagelibrary/rtems
Switched to using shared gcc-target-default.cfg.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user