chiark / gitweb /
[PATCH] klibc: version 1.0.6
[elogind.git] / klibc / klibc / arch / ia64 / sysstub.ph
index 34031a29ae1e06f3e7a60c9d9a68ce882bad40f7..8e686c68a33cd430a8c1708bbe34df1ce470307c 100644 (file)
@@ -5,10 +5,10 @@
 # Script to generate system call stubs
 #
 
-sub make_sysstub($$$$@) {
-    my($fname, $type, $sname, $stype, @args) = @_;
+sub make_sysstub($$$$$@) {
+    my($outputdir, $fname, $type, $sname, $stype, @args) = @_;
 
-    open(OUT, '>', "syscalls/${fname}.S");
+    open(OUT, '>', "${outputdir}/${fname}.S");
     print OUT "#include <asm/unistd.h>\n";
     print OUT "\n";
     print OUT "\t.text\n";