aboutsummaryrefslogtreecommitdiff
path: root/sim/moxie/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sim/moxie/local.mk')
-rw-r--r--sim/moxie/local.mk18
1 files changed, 10 insertions, 8 deletions
diff --git a/sim/moxie/local.mk b/sim/moxie/local.mk
index 600d264..3b5c4c2 100644
--- a/sim/moxie/local.mk
+++ b/sim/moxie/local.mk
@@ -1,6 +1,7 @@
## See sim/Makefile.am
##
-## Copyright (C) 1993-2022 Free Software Foundation, Inc.
+## Copyright (C) 2008-2022 Free Software Foundation, Inc.
+## Written by Anthony Green
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -15,6 +16,14 @@
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
+%C%_run_SOURCES =
+%C%_run_LDADD = \
+ %D%/nrun.o \
+ %D%/libsim.a \
+ $(SIM_COMMON_LIBS)
+
+noinst_PROGRAMS += %D%/run
+
dtbdir = $(datadir)/gdb/dtb
dtb_DATA = %D%/moxie-gdb.dtb
@@ -30,10 +39,3 @@ dtb_DATA = %D%/moxie-gdb.dtb
echo "tree compiler tool (dtc) is missing. Install the tool to "; \
echo "update the device tree blob."; \
fi
-
-# Rule to create the .dirstamp file (on which moxie-gdb.dtb depends)
-# as automake fails to automatically create this rule for _DATA items.
-%D%/$(am__dirstamp):
- @$(MKDIR_P) %D%
- @: >%D%/$(am__dirstamp)
-DISTCLEANFILES += %D%/$(am__dirstamp)