sim: aarch64: move arch-specific file compilation to top-level
authorMike Frysinger <vapier@gentoo.org>
Sun, 6 Nov 2022 03:59:27 +0000 (10:59 +0700)
committerMike Frysinger <vapier@gentoo.org>
Tue, 10 Jan 2023 06:15:27 +0000 (01:15 -0500)
sim/Makefile.in
sim/aarch64/local.mk

index 6f2042a3523179f26b23a32bf30a4c21f14b8ba6..69d085bc69c6148b344991bf1097004a24a694a9 100644 (file)
@@ -4685,9 +4685,6 @@ testsuite/common/bits64m63.c: testsuite/common/bits-gen$(EXEEXT) testsuite/commo
        $(AM_V_at)mv $@.tmp $@
 @SIM_ENABLE_ARCH_aarch64_TRUE@$(aarch64_libsim_a_OBJECTS) $(aarch64_libsim_a_LIBADD): aarch64/hw-config.h
 
-@SIM_ENABLE_ARCH_aarch64_TRUE@aarch64/%.o: aarch64/%.c
-@SIM_ENABLE_ARCH_aarch64_TRUE@ $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
-
 @SIM_ENABLE_ARCH_aarch64_TRUE@aarch64/%.o: common/%.c
 @SIM_ENABLE_ARCH_aarch64_TRUE@ $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
 @SIM_ENABLE_ARCH_arm_TRUE@$(arm_libsim_a_OBJECTS) $(arm_libsim_a_LIBADD): arm/hw-config.h
index c986602449a57a3ad939a71a26670516b8dc9551..bbd832de19d8b74cf96b4b49ef2503b097b4c86b 100644 (file)
@@ -31,9 +31,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)