malekith: bootdisk BOOT,NONE,1.1
Michał Moskal
malekith w pld.org.pl
Czw, 14 Mar 2002, 17:37:13 CET
Module name: bootdisk
Changes by: malekith
--- NEW FILE: BOOT ---
#!/bin/sh
common_opt="--define '__cc i386-uclibc-gcc' \
--define 'rpmcflags -march=i386 -Os' \
--without nls \
--without tetex \
--target=i386-pld-linux \
"
lds="--define 'rpmldflags -s -static'"
usr_include="--define 'rpmcflags -march=i386 -Os -I/usr/include'"
case "$1" in
dml.spec )
package_opt="$lds $usr_include"
;;
ash.spec )
package_opt="--without static $lds"
;;
busybox.spec )
package_opt="--without static $lds"
;;
e2fsprogs.spec )
package_opt="--with allstatic $lds"
;;
iproute2.spec )
package_opt="$lds --without tc"
;;
snarf.spec )
package_opt="$lds"
;;
dhcpcd.spec )
package_opt="$lds"
;;
parted.spec )
export CPPFLAGS="-I/usr/include"
package_opt="--define 'rpmcflags -march=i386 -Os -DUSE_OWN_LLSEEK -DNO_BIOS_GEOMETRY_WARNING' \
--with static --without readline"
;;
esac
eval "rpm -bb $common_opt $package_opt \"$@\""
Więcej informacji o liście dyskusyjnej pld-installer