From e4885d2446bdb3b6c8a0b907cf32a4736b849dbd Mon Sep 17 00:00:00 2001 From: Brendan Chandler Date: Tue, 19 Jan 2021 09:48:22 -0600 Subject: [PATCH] Remove redundant CPU_FLAGS use. This variable is included in the generic OP_SYS_LDFLAGS and doesn't need to also be set in OP_SYS_LDFLAGS_kernel. --- configure/os/CONFIG.Common.RTEMS | 2 +- modules/libcom/src/osi/os/{RTEMS-kernel => RTEMS}/osdEnv.c | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename modules/libcom/src/osi/os/{RTEMS-kernel => RTEMS}/osdEnv.c (100%) diff --git a/configure/os/CONFIG.Common.RTEMS b/configure/os/CONFIG.Common.RTEMS index 708363a69..c9f22b343 100644 --- a/configure/os/CONFIG.Common.RTEMS +++ b/configure/os/CONFIG.Common.RTEMS @@ -115,7 +115,7 @@ OP_SYS_LDLIBS_kernel_NET_no = -lCom -lnfs OP_SYS_LDLIBS += -lrtemsCom -lCom -lc -lrtemscpu $(OP_SYS_LDLIBS_$(OS_API)_NET_$(RTEMS_HAS_NETWORKING)) -lm OP_SYS_LDFLAGS_posix = -u POSIX_Init -OP_SYS_LDFLAGS_kernel = $(CPU_FLAGS) -u Init \ +OP_SYS_LDFLAGS_kernel = -u Init \ $(PROJECT_RELEASE)/lib/no-dpmem.rel \ $(PROJECT_RELEASE)/lib/no-mp.rel \ $(PROJECT_RELEASE)/lib/no-part.rel \ diff --git a/modules/libcom/src/osi/os/RTEMS-kernel/osdEnv.c b/modules/libcom/src/osi/os/RTEMS/osdEnv.c similarity index 100% rename from modules/libcom/src/osi/os/RTEMS-kernel/osdEnv.c rename to modules/libcom/src/osi/os/RTEMS/osdEnv.c