[syslinux:firmware] Makefile: Change default object directory
syslinux-bot for Matt Fleming
matt.fleming at intel.com
Fri Nov 9 09:06:36 PST 2012
Commit-ID: 202a85224c349df0a02f30d2d6b5bf42cda1b662
Gitweb: http://www.syslinux.org/commit/202a85224c349df0a02f30d2d6b5bf42cda1b662
Author: Matt Fleming <matt.fleming at intel.com>
AuthorDate: Fri, 9 Nov 2012 15:18:27 +0000
Committer: Matt Fleming <matt.fleming at intel.com>
CommitDate: Fri, 9 Nov 2012 16:00:07 +0000
Makefile: Change default object directory
Instead of building all objects in 'obj' if no O= argument is
specified on the make command line, create all the firmware object
directories in the top-level of the source repository.
Signed-off-by: Matt Fleming <matt.fleming at intel.com>
---
Makefile | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 57b1846..c7a0127 100644
--- a/Makefile
+++ b/Makefile
@@ -30,13 +30,12 @@ topdir = $(CURDIR)
#
# The output directory can be customised by setting the O=/obj/path/
# variable when invoking make. If no value is specified the default
-# directory is 'obj'.
+# directory is the top-level of the Syslinux source.
#
ifeq ("$(origin O)", "command line")
OBJDIR := $(O)
else
- OBJDIR = $(CURDIR)/obj
- foo := $(shell mkdir -p $(OBJDIR) && /bin/true)
+ OBJDIR = $(topdir)
endif
# If the output directory does not exist we bail because that is the
More information about the Syslinux-commits
mailing list