diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-09-09 22:53:06 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-09-09 22:53:06 +0200 |
commit | 98e43917dc89631c46d0b8eb481345041912ebee (patch) | |
tree | 7fc4cb4a6dffbffd9d1203d7bc8bd9d0dface5cf /Makefile | |
parent | 2d658967e1c0c75206fd218cf8bdb99022b4026a (diff) | |
parent | baf3124953490b0c954461b66545f37b67f3269d (diff) | |
download | u-boot-imx-98e43917dc89631c46d0b8eb481345041912ebee.zip u-boot-imx-98e43917dc89631c46d0b8eb481345041912ebee.tar.gz u-boot-imx-98e43917dc89631c46d0b8eb481345041912ebee.tar.bz2 |
Merge with /home/m8/git/u-boot
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -74,6 +74,11 @@ endif ifneq ($(BUILD_DIR),) saved-output := $(BUILD_DIR) + +# Attempt to create a output directory. +$(shell [ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR}) + +# Verify if it was successful. BUILD_DIR := $(shell cd $(BUILD_DIR) && /bin/pwd) $(if $(BUILD_DIR),,$(error output directory "$(saved-output)" does not exist)) endif # ifneq ($(BUILD_DIR),) |