build: Generate config.h in configure script

This change allows the user to only build
specific directories. For instance:

./configure ...
cd lib
make

Change-Id: I067701befe6bcb5ede8ccdeb561d92db85470b50
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
Ben Walker 2017-04-12 13:20:56 -07:00 committed by Jim Harris
parent d6dbd80d0d
commit 2fbcbe64e9

2
configure vendored
View File

@ -164,6 +164,8 @@ if [ -n "$CONFIG_RBD" ]; then
echo "CONFIG_RBD?=$CONFIG_RBD" >> CONFIG.local echo "CONFIG_RBD?=$CONFIG_RBD" >> CONFIG.local
fi fi
python scripts/genconfig.py > config.h
echo "done." echo "done."
echo "Type 'make' to build." echo "Type 'make' to build."