Makefile
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:1k
- include $(APPS)/Rules.elinux
- all:
- install: src/bluetooth.c include/btcommon.h
- ln -sfn ../../arch/cris/drivers/bluetooth/include ../../../../include/linux/bluetooth
- if ! grep arch/cris/drivers/bluetooth/src/Config.in ../Config.in; then
- echo '' >> ../Config.in;
- echo '# The following if statement was added by arch/cris/drivers/bluetooth/Makefile' >> ../Config.in;
- echo 'if [ "$$CONFIG_ETRAX_SERIAL" = "y" ]; then' >> ../Config.in;
- echo ' source arch/cris/drivers/bluetooth/src/Config.in' >> ../Config.in;
- echo 'fi' >> ../Config.in;
- fi
- if ! grep bluetooth/src/bt.o ../Makefile; then
- perl -pi -e "s:include:# The following two lines were added by arch/cris/drivers/bluetooth/Makefilenobj-\$$(CONFIG_BLUETOOTH) += bluetooth/src/bt.onsubdir-\$$(CONFIG_BLUETOOTH) += bluetooth/srcnninclude:" ../Makefile;
- fi
- clean:
- src/bluetooth.c:
- @echo "You must install the OpenBT src directory before install can be done here!"
- @exit 1
- include/btcommon.h:
- @echo "You must install the OpenBT include directory before install can be done here!"
- @exit 1