mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
Move creation of $(PROJECT_BUILD_DIR)/autotools-stamps into top level Makefile
This patch will create the autotools-stamps directory early in the build process, thus making it possible for non Makefile.autotools.in packages to use this directory to hold stamp files. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
This commit is contained in:
parent
5599a3102e
commit
d86faadff9
1
Makefile
1
Makefile
@ -318,6 +318,7 @@ endif
|
|||||||
|
|
||||||
$(PROJECT_BUILD_DIR)/.root:
|
$(PROJECT_BUILD_DIR)/.root:
|
||||||
mkdir -p $(TARGET_DIR)
|
mkdir -p $(TARGET_DIR)
|
||||||
|
mkdir -p $(PROJECT_BUILD_DIR)/autotools-stamps
|
||||||
if ! [ -d "$(TARGET_DIR)/bin" ]; then \
|
if ! [ -d "$(TARGET_DIR)/bin" ]; then \
|
||||||
if [ -d "$(TARGET_SKELETON)" ]; then \
|
if [ -d "$(TARGET_SKELETON)" ]; then \
|
||||||
cp -fa $(TARGET_SKELETON)/* $(TARGET_DIR)/; \
|
cp -fa $(TARGET_SKELETON)/* $(TARGET_DIR)/; \
|
||||||
|
@ -258,7 +258,6 @@ $(PROJECT_BUILD_DIR)/autotools-stamps/%_target_installed:
|
|||||||
$(if $(BR2_HAVE_DOCUMENTATION),,for d in doc share/doc; do \
|
$(if $(BR2_HAVE_DOCUMENTATION),,for d in doc share/doc; do \
|
||||||
rm -rf $(TARGET_DIR)/$$d $(TARGET_DIR)/usr/$$d; \
|
rm -rf $(TARGET_DIR)/$$d $(TARGET_DIR)/usr/$$d; \
|
||||||
done)
|
done)
|
||||||
$(Q)mkdir -p $(@D)
|
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(BUILD_DIR)/%/.stamp_cleaned:
|
$(BUILD_DIR)/%/.stamp_cleaned:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user