#!/bin/sh

source ../Config.sh

pp_build_local () {
    # ifenslave.c comes with the kernel but must be built after uClibc
    cp ${FW_TOPDIR}/${LINUX_KERNEL_DIR}/Documentation/networking/ifenslave.c .
    pp_build_default "$@"
}

pp_clean_local () {
    # remove everything except Makefile and Build
    rm -v -f ifenslave*
    rm -v -rf .deps
}

pp_do "$@"
