diff options
author | Brian Norris <computersforpeace@gmail.com> | 2011-07-07 15:16:17 -0700 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-07-20 08:23:47 +0300 |
commit | 9a38f97d1cebcda5bb49032b1079d383ff34de3d (patch) | |
tree | 7e155fac898393fdc54d20e797e7ae8c31312896 /flash_eraseall | |
parent | 0feba3a086a5c500e743a162b0f7cd8234afe2d5 (diff) |
Makefile: fix "version.h" build for cross-compiling
When using "make CROSS=mipsel-linux-", I get the following errors:
/bin/sh: /home/norris/git/mtd-utils/mipsel-linux/include/version.h.tmp: No such file or directory
make: *** [/home/norris/git/mtd-utils/mipsel-linux/include/version.h.tmp] Error 1
Fix (suggested by Mike Frysinger): create the directory if it doesn't
exist. Also, $(CC) needs to be able to find the generated header in
$(BUILDDIR)/include.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
Diffstat (limited to 'flash_eraseall')
0 files changed, 0 insertions, 0 deletions