diff --git a/build b/build index 58d784cf572a..0db67f5f51a4 100755 --- a/build +++ b/build @@ -47,9 +47,9 @@ if [ ! "$RT" -eq 0 ]; then fi echo "Creating tools package..." cd tools/ -make cpupower intel-speed-select pci bootconfig tmon usb x86_energy_perf_policy wmi freefall perf +make ${MAKE_OPTS} CFLAGS="${CCFLAGS}" CXXFLAGS="${CXXFLAGS}" cpupower intel-speed-select pci bootconfig tmon usb x86_energy_perf_policy wmi freefall perf sudo checkinstall -D --pkgname "linux-tools-thdkernel-${KV}" --pkgversion "${KV}" --pakdir .. --gzman -y --install=no --maintainer dev@javinator9889.com --exclude /root --exclude /media make cpupower_install intel-speed-select_install pci_install bootconfig_install tmon_install usb_install x86_energy_perf_policy_install wmi_install freefall_install perf_install -make clean +make -s clean cd .. sudo chown $USER:$USER *.deb