diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-01-01 14:17:46 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-01-10 01:15:28 -0500 |
commit | 63a9d59e884e18d02ca15abc1149fd14b4b144cd (patch) | |
tree | dce85a932f02e530c4631c3a5a0fcebd65cd7b8d /sim/mn10300/local.mk | |
parent | 1546cb45407f5228e8d4bdd948b7d0bc6c4d1b76 (diff) | |
download | gdb-63a9d59e884e18d02ca15abc1149fd14b4b144cd.zip gdb-63a9d59e884e18d02ca15abc1149fd14b4b144cd.tar.gz gdb-63a9d59e884e18d02ca15abc1149fd14b4b144cd.tar.bz2 |
sim: mn10300: move arch-specific file compilation to top-level
The arch-specific compiler flags are duplicated, but they'll be cleaned
up once we move all subdir compiles to the top-level.
Diffstat (limited to 'sim/mn10300/local.mk')
-rw-r--r-- | sim/mn10300/local.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sim/mn10300/local.mk b/sim/mn10300/local.mk index 06b4208..527d580 100644 --- a/sim/mn10300/local.mk +++ b/sim/mn10300/local.mk @@ -16,6 +16,10 @@ ## You should have received a copy of the GNU General Public License ## along with this program. If not, see <http://www.gnu.org/licenses/>. +AM_CPPFLAGS_%C% = \ + -DPOLL_QUIT_INTERVAL=0x20 \ + -DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31 + %C%_libsim_a_SOURCES = %C%_libsim_a_LIBADD = \ $(common_libcommon_a_OBJECTS) \ @@ -37,9 +41,6 @@ $(%C%_libsim_a_OBJECTS) $(%C%_libsim_a_LIBADD): %D%/hw-config.h noinst_LIBRARIES += %D%/libsim.a -%D%/%.o: %D%/%.c - $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F) - %D%/%.o: common/%.c $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F) |