Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
725471d2
Commit
725471d2
authored
Aug 05, 1998
by
Bruce Korb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes to allow bypassing tests for certain machines
From-SVN: r21614
parent
7c3b5ba5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
7 deletions
+25
-7
contrib/fixinc/Makefile
+2
-2
contrib/fixinc/fixincl.c
+0
-0
contrib/fixinc/fixincl.tpl
+21
-3
contrib/fixinc/mkfixinc.sh
+2
-2
No files found.
contrib/fixinc/Makefile
View file @
725471d2
...
...
@@ -34,7 +34,7 @@ regex.o: regex.c
-
$(CC)
-g
-DSTDC_HEADERS
=
1
-c
regex.c
fixincl.o
:
fixincl.x fixincl.c
-
$(CC)
$(CFLAGS)
-o
$@
-c
fixincl.c
-
$(CC)
$(CFLAGS)
'-DTARGET_MACHINE="
$(TARGET)
"'
-o
$@
-c
fixincl.c
server.o
:
server.c server.h
-
$(CC)
$(CFLAGS)
-o
$@
-c
server.c
...
...
@@ -71,7 +71,7 @@ install: $(TARGETS)
echo
cp fixincl.sh
$(DESTDIR)
/fixinc.sh
;
\
cp fixincl.sh
$(DESTDIR)
/fixinc.sh
;
\
chmod 555
$(DESTDIR)
/fixinc.sh
;
\
rm
-f
$(DESTDIR)
/fixincl
;
\
rm
-f
$(DESTDIR)
/fixincl
;
\
echo
cp fixincl
$(DESTDIR)
;
\
cp fixincl
$(DESTDIR)
;
\
chmod 555
$(DESTDIR)
/fixincl
;
\
...
...
contrib/fixinc/fixincl.c
View file @
725471d2
This diff is collapsed.
Click to expand it.
contrib/fixinc/fixincl.tpl
View file @
725471d2
...
...
@@ -33,6 +33,20 @@ tSCC z[=hackname _cap=]List[] =[=
_ELSE =]
#define z[=hackname _cap=]List (char*)NULL[=
_ENDIF "files _exist" =]
/*
* Machine/OS name selection pattern
*/[=
_IF mach _exist=]
tSCC* apz[=hackname _cap=]Machs[] = {[=
_FOR mach =]
[=mach _str=],[=
/mach=]
(const char*)NULL };[=
_ELSE =]
#define apz[=hackname _cap=]Machs (const char**)NULL[=
_ENDIF "files _exist" =][=
_IF exesel _exist=]
...
...
@@ -143,9 +157,13 @@ tFixDesc fixDescList[ [=_eval fix _count =] ] = {[=
_FOR fix ",\n" =]
{ z[=hackname _cap=]Name, z[=hackname _cap=]List, (regex_t*)NULL,
[=hackname _up=]_TEST_CT, a[=hackname _cap=]Tests,
apz[=hackname _cap=]Patch }[=
{ z[=hackname _cap=]Name, z[=hackname _cap=]List,
apz[=hackname _cap=]Machs, (regex_t*)NULL,
[=hackname _up=]_TEST_CT, [=
_IF not_machine _exist =]FD_MACH_IFNOT[=
_ELSE =]FD_MACH_ONLY[=
_ENDIF =],
a[=hackname _cap=]Tests, apz[=hackname _cap=]Patch }[=
/fix=]
};
contrib/fixinc/mkfixinc.sh
View file @
725471d2
...
...
@@ -113,7 +113,7 @@ then
exit
0
fi
echo
$MAKE
install
DESTDIR
=
`
dirname
$dest
`
$MAKE
install
DESTDIR
=
`
dirname
$dest
`
echo
$MAKE
install
DESTDIR
=
`
dirname
$dest
`
TARGET
=
$machine
$MAKE
install
DESTDIR
=
`
dirname
$dest
`
TARGET
=
$machine
exit
1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment