Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
e49392aa
Commit
e49392aa
authored
Mar 06, 2003
by
Alan Cox
Committed by
Linus Torvalds
Mar 06, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix aic7xxx aicasm build
The -ldb has to be at the end sometimes
parent
b950581c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
drivers/scsi/aic7xxx/aicasm/Makefile
drivers/scsi/aic7xxx/aicasm/Makefile
+5
-3
No files found.
drivers/scsi/aic7xxx/aicasm/Makefile
View file @
e49392aa
...
@@ -10,9 +10,10 @@ GENHDRS= aicdb.h $(YSRCS:.y=.h)
...
@@ -10,9 +10,10 @@ GENHDRS= aicdb.h $(YSRCS:.y=.h)
GENSRCS
=
$(YSRCS:.y=.c)
$(LSRCS:.l=.c)
GENSRCS
=
$(YSRCS:.y=.c)
$(LSRCS:.l=.c)
SRCS
=
${CSRCS}
${GENSRCS}
SRCS
=
${CSRCS}
${GENSRCS}
LIBS
=
-ldb
CLEANFILES
=
${GENSRCS}
${GENHDRS}
$(YSRCS:.y=.output)
CLEANFILES
=
${GENSRCS}
${GENHDRS}
$(YSRCS:.y=.output)
# Override default kernel CFLAGS. This is a userland app.
# Override default kernel CFLAGS. This is a userland app.
AICASM_CFLAGS
:=
-I
/usr/include
-I
.
-ldb
AICASM_CFLAGS
:=
-I
/usr/include
-I
.
YFLAGS
=
-d
YFLAGS
=
-d
NOMAN
=
noman
NOMAN
=
noman
...
@@ -30,7 +31,7 @@ LFLAGS= -d
...
@@ -30,7 +31,7 @@ LFLAGS= -d
endif
endif
$(PROG)
:
${GENHDRS} $(SRCS)
$(PROG)
:
${GENHDRS} $(SRCS)
$(AICASM_CC)
$(AICASM_CFLAGS)
$(SRCS)
-o
$(PROG)
$(AICASM_CC)
$(AICASM_CFLAGS)
$(SRCS)
-o
$(PROG)
$(LIBS)
aicdb.h
:
aicdb.h
:
@
if
[
-e
"/usr/include/db3/db_185.h"
]
;
then
\
@
if
[
-e
"/usr/include/db3/db_185.h"
]
;
then
\
...
@@ -45,8 +46,9 @@ aicdb.h:
...
@@ -45,8 +46,9 @@ aicdb.h:
echo
"*** Install db development libraries"
;
\
echo
"*** Install db development libraries"
;
\
fi
fi
clean-files
:=
$(CLEANFILES)
$(PROG)
clean
:
clean
:
rm
-f
$(
CLEANFILES)
$(PROG
)
rm
-f
$
(
clean-files
)
aicasm_gram.c aicasm_gram.h
:
aicasm_gram.y
aicasm_gram.c aicasm_gram.h
:
aicasm_gram.y
$(YACC)
$(YFLAGS)
-b
$
(
<:.y
=)
$<
$(YACC)
$(YFLAGS)
-b
$
(
<:.y
=)
$<
...
...
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