12345678910111213141516171819202122232425262728293031 |
- #!/bin/bash
- set +h
- export ARCH=x86_64
- export CROSS_COMPILE=$LFS_TGT-
- source "$basedir/build-helpers.sh"
- configure_commands() {
- cd "$builddir"
- make mrproper
- }
- make_commands() {
- cd "$builddir"
- make INSTALL_HDR_PATH="$installdir" headers_install
- }
- install_commands() {
- cd "$installdir"
- cp -av ./ /tools/
- }
- uninstall_commands() {
- [[ -d "$installdir" ]] && {
- pushd "$installdir" > /dev/null
- find -H -mindepth 1 -type f -o -type l -exec rm -vf /tools/{} \;
- popd > /dev/null
- rm -rvf "$installdir"
- }
- }
|