Current the Makefile only builds the .c files and installs
them in the $INSTALL path. However, the ltp directory contains a shell script,
which doen't get copied over (installed) when a "make install"is invoked.
This behaviour causes test 080 to fail since it requires rwtest.sh to be
present in the ltp/ directory.
Tested: Updated the Makefile and ran a static build script & test
080.
Signed-off-by: Akshay Lal <akshaylal@google.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
include $(TOPDIR)/include/builddefs
TARGETS = doio fsstress fsx growfiles iogen
+SCRIPTS = rwtest.sh
CFILES = $(TARGETS:=.c)
HFILES = doio.h
LDIRT = $(TARGETS)
install: default
$(INSTALL) -m 755 -d $(PKG_LIB_DIR)/ltp
$(INSTALL) -m 755 $(TARGETS) $(PKG_LIB_DIR)/ltp
+ $(INSTALL) -m 755 $(SCRIPTS) $(PKG_LIB_DIR)/ltp
-include .dep