#!/bin/bash -eu . debian/debian.env # We only build the lowlatency/lowlatency-64k flavours sed -i '/^flavours.*$/d' ${DEBIAN}/rules.d/amd64.mk sed -i '/^flavours.*$/d' ${DEBIAN}/rules.d/arm64.mk echo -e "flavours\t= lowlatency" >> ${DEBIAN}/rules.d/amd64.mk echo -e "flavours\t= lowlatency lowlatency-64k" >> ${DEBIAN}/rules.d/arm64.mk # Override options in rules.d/hooks.mk (normally master does not have this # file but it got added for generic annotations enforcement. Must replace # the old file or it grows constantly. cat <${DEBIAN}/rules.d/hooks.mk do_enforce_all = true do_libc_dev_package = false do_doc_package = false do_tools_common = false do_tools_host = false do_source_package = false EOD