mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
Some changes from trying to run test suite in California last week:
* Makefile.in (site.exp): Don't set ASFLAGS. Quote value of OBJDUMPFLAGS in case it's empty. Use temporary names until the end; make creating site.exp the final step. (check): Pass in ASFLAGS. * gas/all/gas.exp: Use all_ones proc. Change regexp for matching C comments to avoid bugs in latest expect code.
This commit is contained in:
@ -92,17 +92,14 @@ site.exp: ./Makefile
|
|||||||
@echo set srcdir ${srcdir} >> ./tmp0
|
@echo set srcdir ${srcdir} >> ./tmp0
|
||||||
@echo set exec_prefix ${exec_prefix} >> ./tmp0
|
@echo set exec_prefix ${exec_prefix} >> ./tmp0
|
||||||
@echo set objdir `pwd` >> ./tmp0
|
@echo set objdir `pwd` >> ./tmp0
|
||||||
@echo set ASFLAGS ${ASFLAGS} >> ./tmp0
|
|
||||||
@echo set OBJDUMP ${OBJDUMP_FOR_TARGET} >> ./tmp0
|
@echo set OBJDUMP ${OBJDUMP_FOR_TARGET} >> ./tmp0
|
||||||
@echo set OBJDUMPFLAGS ${OBJDUMPFLAGS} >> ./tmp0
|
@echo set OBJDUMPFLAGS \"${OBJDUMPFLAGS}\" >> ./tmp0
|
||||||
@echo "## All variables above are generated by configure. Do Not Edit ##" >> ./tmp0
|
@echo "## All variables above are generated by configure. Do Not Edit ##" >> ./tmp0
|
||||||
@cat ./tmp0 > site.exp
|
@sed -e '1,/^## All variables above are.*##/ d' < site.bak >> ./tmp0
|
||||||
@cat site.bak | sed \
|
@mv -f ./tmp0 site.exp
|
||||||
-e '1,/^## All variables above are.*##/ d' >> site.exp
|
|
||||||
@rm -f ./tmp1 ./tmp0
|
|
||||||
|
|
||||||
check: site.exp
|
check: site.exp
|
||||||
$(RUNTEST) $(RUNTEST_FLAGS) --tool gas AS=$(AS_FOR_TARGET)
|
$(RUNTEST) $(RUNTEST_FLAGS) --tool gas AS=$(AS_FOR_TARGET) ASFLAGS="$(ASFLAGS)"
|
||||||
|
|
||||||
force:
|
force:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user