summaryrefslogtreecommitdiff
path: root/i486-stage1/syslinux/DESCR
blob: 05c571a0f9690700431ebcd48d4f1ae8d4b20de9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# disable python (take it from the host for generating the menues)
sed -i "/makedepends=/s/python2//" PKGBUILD
sed -i "s/make PYTHON=python2/make/" PKGBUILD

# take git from the host
sed -i "/makedepends=/s/git//" PKGBUILD

# no documentation
sed -i "/makedepends=/s/asciidoc//" PKGBUILD

# no upx compression
sed -i "/makedepends=/s/upx//" PKGBUILD

# use the cross compiler
sed -i "s/\(make \$_targets\)/\1 CC=$TARGET_ARCH-gcc AS=$TARGET_ARCH-as LD=$TARGET_ARCH-ld AR=$TARGET_ARCH-ar/" PKGBUILD

# build BIOS version only for i486
sed -i '/_targets/s/efi32//g' PKGBUILD
sed -i '3!N; /prepare()/ a \  sed -i "/all_firmware :=/s/efi32 efi64//g" Makefile' PKGBUILD