?? makefile
字號:
# Makefile for the USB/IP driver## $Id: Makefile 66 2008-04-20 13:19:42Z hirofuchi $## Copyright (C) 2003-2008 Takahiro Hirofuchi### This is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2 of the License, or# (at your option) any later version.## This is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.# # You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,# USA.# # Please modify here or set environments.# KSOURCE should be pointed to the build directory of your kernel.# DEBUG ?= nKSOURCE ?= /usr/src/linux%.x:%.c gcc -o $@ $<KBUILD_VERBOSE:=1HCD_HEADER:=$(KSOURCE)/drivers/usb/core/hcd.husbip_common_mod-objs := usbip_common.o usbip_event.ousbip-objs := stub_dev.o stub_main.o stub_rx.o stub_tx.ovhci-hcd-objs := vhci_sysfs.o vhci_tx.o vhci_rx.o vhci_hcd.o obj-m += usbip_common_mod.oobj-m += usbip.oobj-m += vhci-hcd.oEXTRA_CFLAGS += -DHCD_HEADER=\"$(HCD_HEADER)\"ifeq ($(DEBUG),y) EXTRA_CFLAGS += -DCONFIG_USB_DEBUGendifdefault: make -C $(KSOURCE) LANG=C KBUILD_VERBOSE=${KBUILD_VERBOSE} M=`pwd` modulescheck: #make -C $(KSOURCE) LANG=C KBUILD_VERBOSE=${KBUILD_VERBOSE} C=1 M=`pwd` modules checkstack namespacecheck headers_check make -C $(KSOURCE) LANG=C KBUILD_VERBOSE=${KBUILD_VERBOSE} C=1 M=`pwd` modules.PHONY: cscopecscope: cscope -b -k -R.PHONY: cleanclean: make -C $(KSOURCE) LANG=C KBUILD_VERBOSE=${KBUILD_VERBOSE} M=`pwd` clean rm -f *.x *~
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -