• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révisione5f7bc29350058330fbc3ed4fd0c6135bd892f53 (tree)
l'heure2022-11-05 22:02:15
AuteurMike Frysinger <vapier@gent...>
CommiterMike Frysinger

Message de Log

sim: bfin: move linux-fixed-code.h to top-level

Change Summary

Modification

--- a/sim/Makefile.in
+++ b/sim/Makefile.in
@@ -3173,6 +3173,24 @@ testsuite/common/bits64m63.c: testsuite/common/bits-gen$(EXEEXT) testsuite/commo
31733173 $(AM_V_at)cat $(srcdir)/testsuite/common/bits-tst.c >> $@.tmp
31743174 $(AM_V_at)mv $@.tmp $@
31753175
3176+@SIM_ENABLE_ARCH_bfin_TRUE@bfin/linux-fixed-code.h: @MAINT@ $(srcdir)/bfin/linux-fixed-code.s bfin/local.mk bfin/$(am__dirstamp)
3177+@SIM_ENABLE_ARCH_bfin_TRUE@ $(AM_V_GEN)$(AS_FOR_TARGET_BFIN) $(srcdir)/bfin/linux-fixed-code.s -o bfin/linux-fixed-code.o
3178+@SIM_ENABLE_ARCH_bfin_TRUE@ $(AM_V_at)(\
3179+@SIM_ENABLE_ARCH_bfin_TRUE@ set -e; \
3180+@SIM_ENABLE_ARCH_bfin_TRUE@ echo "/* DO NOT EDIT: Autogenerated from linux-fixed-code.s. */"; \
3181+@SIM_ENABLE_ARCH_bfin_TRUE@ echo "static const unsigned char bfin_linux_fixed_code[] ="; \
3182+@SIM_ENABLE_ARCH_bfin_TRUE@ echo "{"; \
3183+@SIM_ENABLE_ARCH_bfin_TRUE@ $(OBJDUMP_FOR_TARGET_BFIN) -d -z bfin/linux-fixed-code.o > $@.dis; \
3184+@SIM_ENABLE_ARCH_bfin_TRUE@ sed -n \
3185+@SIM_ENABLE_ARCH_bfin_TRUE@ -e 's:^[^ ]* :0x:' \
3186+@SIM_ENABLE_ARCH_bfin_TRUE@ -e '/^0x/{s: .*::;s: *$$:,:;s: :, 0x:g;p;}' \
3187+@SIM_ENABLE_ARCH_bfin_TRUE@ $@.dis; \
3188+@SIM_ENABLE_ARCH_bfin_TRUE@ rm -f $@.dis; \
3189+@SIM_ENABLE_ARCH_bfin_TRUE@ echo "};" \
3190+@SIM_ENABLE_ARCH_bfin_TRUE@ ) > $@.tmp
3191+@SIM_ENABLE_ARCH_bfin_TRUE@ $(AM_V_at)$(SHELL) $(srcroot)/move-if-change $@.tmp $(srcdir)/bfin/linux-fixed-code.h
3192+@SIM_ENABLE_ARCH_bfin_TRUE@ $(AM_V_at)touch $(srcdir)/bfin/linux-fixed-code.h
3193+
31763194 @SIM_ENABLE_ARCH_bpf_TRUE@bpf/mloop-le.c bpf/eng-le.h: bpf/stamp-mloop-le ; @true
31773195 @SIM_ENABLE_ARCH_bpf_TRUE@bpf/stamp-mloop-le: $(srccom)/genmloop.sh bpf/mloop.in
31783196 @SIM_ENABLE_ARCH_bpf_TRUE@ $(AM_V_GEN)$(SHELL) $(srccom)/genmloop.sh -shell $(SHELL) \
--- a/sim/bfin/Makefile.in
+++ b/sim/bfin/Makefile.in
@@ -62,20 +62,3 @@ SIM_EXTRA_HW_DEVICES = \
6262 SIM_EXTRA_CFLAGS = $(SDL_CFLAGS)
6363
6464 ## COMMON_POST_CONFIG_FRAG
65-
66-$(srcdir)/linux-fixed-code.h: $(MAINT) $(srcdir)/linux-fixed-code.s Makefile.in
67- $(AS_FOR_TARGET) $(srcdir)/linux-fixed-code.s -o linux-fixed-code.o
68- ( set -e; \
69- echo "/* DO NOT EDIT: Autogenerated from linux-fixed-code.s. */"; \
70- echo "static const unsigned char bfin_linux_fixed_code[] ="; \
71- echo "{"; \
72- $(OBJDUMP_FOR_TARGET) -d -z linux-fixed-code.o > $@.dis; \
73- sed -n \
74- -e 's:^[^ ]* :0x:' \
75- -e '/^0x/{s: .*::;s: *$$:,:;s: :, 0x:g;p;}' \
76- $@.dis; \
77- rm -f $@.dis; \
78- echo "};" \
79- ) > $@.tmp
80- rm -f linux-fixed-code.o
81- mv $@.tmp $@
--- a/sim/bfin/local.mk
+++ b/sim/bfin/local.mk
@@ -23,3 +23,21 @@
2323 $(SIM_COMMON_LIBS)
2424
2525 noinst_PROGRAMS += %D%/run
26+
27+%D%/linux-fixed-code.h: @MAINT@ $(srcdir)/%D%/linux-fixed-code.s %D%/local.mk %D%/$(am__dirstamp)
28+ $(AM_V_GEN)$(AS_FOR_TARGET_BFIN) $(srcdir)/%D%/linux-fixed-code.s -o %D%/linux-fixed-code.o
29+ $(AM_V_at)(\
30+ set -e; \
31+ echo "/* DO NOT EDIT: Autogenerated from linux-fixed-code.s. */"; \
32+ echo "static const unsigned char bfin_linux_fixed_code[] ="; \
33+ echo "{"; \
34+ $(OBJDUMP_FOR_TARGET_BFIN) -d -z %D%/linux-fixed-code.o > $@.dis; \
35+ sed -n \
36+ -e 's:^[^ ]* :0x:' \
37+ -e '/^0x/{s: .*::;s: *$$:,:;s: :, 0x:g;p;}' \
38+ $@.dis; \
39+ rm -f $@.dis; \
40+ echo "};" \
41+ ) > $@.tmp
42+ $(AM_V_at)$(SHELL) $(srcroot)/move-if-change $@.tmp $(srcdir)/%D%/linux-fixed-code.h
43+ $(AM_V_at)touch $(srcdir)/%D%/linux-fixed-code.h