diff options
Diffstat (limited to 'pkg/syslinux/gen.rc')
| -rw-r--r-- | pkg/syslinux/gen.rc | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/pkg/syslinux/gen.rc b/pkg/syslinux/gen.rc deleted file mode 100644 index e3b5c9fa..00000000 --- a/pkg/syslinux/gen.rc +++ /dev/null @@ -1,47 +0,0 @@ -cflags\ - -I '$dir' \ - -I '$outdir' \ - -I '$srcdir'/libinstaller\ - -I '$srcdir'/com32/include/syslinux -# NOTE: we should only have to include $srcdir/libinstaller, but BSD pax/tar -# transforms symlink targets as well as filenames, trashing the -# libinstaller/advconst.h symlink. - -build '$outdir'/version.h awk '$srcdir'/version '|' '$dir'/version.awk ; with\ - expr '-f $dir/version.awk -v fmt=''#define %s %s''' - -{ - toolchain host - cflags '-std=c99' -pedantic -Wall -Wextra - set srcdir '$dir' - exe bin2c bin2c.c -} >tools.ninja ; subninja tools.ninja - -rule bin2c '$outdir/bin2c $args <$in >$out.tmp && mv $out.tmp $out' -fn bin2c { - bin=$1 - name=$2 - shift - build '$outdir'/$name.c bin2c '$srcdir'/$bin '|' '$outdir'/bin2c - with args $"* -} - -bin2c bios/core/ldlinux.bss syslinux_bootsect -bin2c bios/core/ldlinux.sys syslinux_ldlinux 512 -bin2c bios/com32/elflink/ldlinux/ldlinux.c32 syslinux_ldlinuxc32 - -exe bin/extlinux -d '$outdir'/version.h\ - extlinux/^(main.c mountinfo.c)\ - libinstaller/^(\ - syslxmod.c\ - syslxopt.c\ - syslxcom.c\ - setadv.c\ - advio.c\ - )\ - '$outdir'/syslinux_^(bootsect ldlinux ldlinuxc32)^.c -file bin/extlinux '$outdir'/bin/extlinux 755 - -file lib/syslinux/bios/mbr.bin '$srcdir'/bios/mbr/mbr.bin 644 - -fetch curl |
