summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/epiphany
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-02 07:37:44 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-02 11:13:26 +0100
commitec32100797b0a55cfcf372c89d41de3fad598ff5 (patch)
treef141ffb08f95722ddaa4dbc482266d12773f2898 /c/src/lib/libbsp/epiphany
parentbsps: Add EXTRA_DIST to all BSP Makefile.am (diff)
downloadrtems-ec32100797b0a55cfcf372c89d41de3fad598ff5.tar.bz2
bsps: Use CPPASCOMPILE for startfile
Update #3254.
Diffstat (limited to 'c/src/lib/libbsp/epiphany')
-rw-r--r--c/src/lib/libbsp/epiphany/epiphany_sim/Makefile.am10
-rw-r--r--c/src/lib/libbsp/epiphany/epiphany_sim/preinstall.am2
2 files changed, 6 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/epiphany/epiphany_sim/Makefile.am b/c/src/lib/libbsp/epiphany/epiphany_sim/Makefile.am
index 8bc2146c16..33bc5f7346 100644
--- a/c/src/lib/libbsp/epiphany/epiphany_sim/Makefile.am
+++ b/c/src/lib/libbsp/epiphany/epiphany_sim/Makefile.am
@@ -37,11 +37,11 @@ nodist_include_HEADERS = include/bspopts.h
###############################################################################
# Data #
###############################################################################
-noinst_LIBRARIES = libbspstart.a
-libbspstart_a_SOURCES = start/start.S
-
-project_lib_DATA = start/start.$(OBJEXT)
+EXTRA_DIST += start/start.S
+start.$(OBJEXT): start/start.S
+ $(CPPASCOMPILE) -o $@ -c $<
+project_lib_DATA = start.$(OBJEXT)
project_lib_DATA += startup/linkcmds
@@ -49,7 +49,7 @@ project_lib_DATA += startup/linkcmds
# LibBSP #
###############################################################################
-noinst_LIBRARIES += libbsp.a
+noinst_LIBRARIES = libbsp.a
# Startup
libbsp_a_SOURCES = ../../shared/bspreset.c
diff --git a/c/src/lib/libbsp/epiphany/epiphany_sim/preinstall.am b/c/src/lib/libbsp/epiphany/epiphany_sim/preinstall.am
index d79d62cd60..e35a2e7a5f 100644
--- a/c/src/lib/libbsp/epiphany/epiphany_sim/preinstall.am
+++ b/c/src/lib/libbsp/epiphany/epiphany_sim/preinstall.am
@@ -90,7 +90,7 @@ $(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
-$(PROJECT_LIB)/start.$(OBJEXT): start/start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
+$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)