From 12aaf1a2f7434eb8a66b6108c154ca9c0ec2b71d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Fri, 9 Mar 2018 11:27:15 +0100 Subject: [PATCH] build: cleanup directory handling --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 495ca4a..38b72cb 100644 --- a/Makefile +++ b/Makefile @@ -101,8 +101,7 @@ debian.prepared: debian ${KERNEL_SRC}.prepared: ${KERNEL_SRC_SUBMODULE} | submodule rm -rf ${BUILD_DIR}/${KERNEL_SRC} $@ mkdir -p ${BUILD_DIR} - mkdir ${BUILD_DIR}/${KERNEL_SRC} - cp -a ${KERNEL_SRC_SUBMODULE}/* ${BUILD_DIR}/${KERNEL_SRC}/ + cp -a ${KERNEL_SRC_SUBMODULE} ${BUILD_DIR}/${KERNEL_SRC} # TODO: split for archs, track and diff in our repository? cat ${BUILD_DIR}/${KERNEL_SRC}/debian.master/config/config.common.ubuntu ${BUILD_DIR}/${KERNEL_SRC}/debian.master/config/${ARCH}/config.common.${ARCH} ${BUILD_DIR}/${KERNEL_SRC}/debian.master/config/${ARCH}/config.flavour.generic > ${KERNEL_CFG_ORG} cp ${KERNEL_CFG_ORG} ${BUILD_DIR}/${KERNEL_SRC}/.config