summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-10-08 01:45:28 -0500
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-10-08 01:45:28 -0500
commit780bc5caed7ab67345021cd47493c70cc4e42d76 (patch)
treeef1a8c6ff8a35616161f7944f169f2553591ed19 /scripts
parent9f64ae7f880d44fcc8687d5061d25ea3dac7b5b9 (diff)
kbuild: Remove now unnecessary usages of $(TOPDIR)
Since we now always have $(TOPDIR) = `pwd`, some usages of $(TOPDIR) can go away.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/fixdep.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/scripts/fixdep.c b/scripts/fixdep.c
index 76a392090115..a14e0bfd326a 100644
--- a/scripts/fixdep.c
+++ b/scripts/fixdep.c
@@ -61,7 +61,7 @@
*
* It is invoked as
*
- * fixdep <depfile> <target> <topdir> <cmdline>
+ * fixdep <depfile> <target> <cmdline>
*
* and will read the dependency file <depfile>
*
@@ -111,7 +111,6 @@
#define INT_NFIG ntohl(0x4e464947)
#define INT_FIG_ ntohl(0x4649475f)
-char *topdir;
char *target;
char *depfile;
char *cmdline;
@@ -119,7 +118,7 @@ char *cmdline;
void usage(void)
{
- fprintf(stderr, "Usage: fixdep <depfile> <target> <topdir> <cmdline>\n");
+ fprintf(stderr, "Usage: fixdep <depfile> <target> <cmdline>\n");
exit(1);
}
@@ -364,13 +363,12 @@ int main(int argc, char *argv[])
{
traps();
- if (argc != 5)
+ if (argc != 4)
usage();
depfile = argv[1];
target = argv[2];
- topdir = argv[3];
- cmdline = argv[4];
+ cmdline = argv[3];
print_cmdline();
print_deps();