buildsys: print out which patch we apply
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Jun 2018 15:47:31 +0000 (17:47 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Jun 2018 15:48:40 +0000 (17:48 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 4a4a7a8e838c9be3039958d6e72eae96be7ebee4..fb44205d95414437c3558cb08a328c2f082c38bd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -112,7 +112,7 @@ ${KERNEL_SRC}.prepared: ${KERNEL_SRC_SUBMODULE} | submodule
        cp ${KERNEL_CFG_ORG} ${BUILD_DIR}/${KERNEL_SRC}/.config
        sed -i ${BUILD_DIR}/${KERNEL_SRC}/Makefile -e 's/^EXTRAVERSION.*$$/EXTRAVERSION=${EXTRAVERSION}/'
        rm -rf ${BUILD_DIR}/${KERNEL_SRC}/debian ${BUILD_DIR}/${KERNEL_SRC}/debian.master
-       cd ${BUILD_DIR}/${KERNEL_SRC}; for patch in ../../patches/kernel/*.patch; do patch -p1 < $${patch}; done
+       cd ${BUILD_DIR}/${KERNEL_SRC}; for patch in ../../patches/kernel/*.patch; do echo "applying patch '$$patch'" && patch -p1 < $${patch}; done
        touch $@
 
 ${MODULES}.prepared: $(addsuffix .prepared,${MODULE_DIRS})