]> www.infradead.org Git - mtd-utils.git/commit
Makefile: install: don't look for scripts in BUILDDIR
authorBrian Norris <computersforpeace@gmail.com>
Tue, 26 Jan 2016 21:36:56 +0000 (13:36 -0800)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 27 Jan 2016 01:05:45 +0000 (17:05 -0800)
commit90f2151eb19757a27af2dd710237e69a64740c12
tree1be86f436a3009e9a2b273c36dddfefdc3822935
parentf4ba6b8ee73b3b6f726a02ad6ffe826cf8f31261
Makefile: install: don't look for scripts in BUILDDIR

Our ${SCRIPTS} (e.g., flash_eraseall) are not found in the build
directory; they should be found in their original location.

This fixes a typo in the Makefile refactoring, which caused 'make
install' to fail with messages like:

  make: *** No rule to make target '[...my source-build directory...]/armv7a-cros-linux-gnueabi/misc-utils/flash_eraseall'. Stop.

because the install target is looking in the wrong place for
flash_eraseall.

Fixes: 7d81790ced34 ("mtd-utils: Restructure the mtd-utils source.")
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Reviewed-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Makefile