LinuxϵÄMakefile±Ê¼Ç
À´Ô´linux-2.6.20.21/Documentation/kbuild/makefiles.txt
* obj-y
+= foo.o ±íʾ±àbuild-in£¬obj-m += foo.o±íʾ±à³Émodule.
* kbuild
»á±àÒëËùÓеÄ$(obj-y)Îļþ£¬È»ºóµ÷ÓÃ$(LD) -r°ÑÕâЩÎļþºÏ²¢µ½Ò»¸öbuilt-in.oÎļþÖС£Õâ¸öbuilt-in.oÉÔºó»á±»¸¸¼¶Makefile linkµ½vmlinux
* ÓÃlib-y
:= checksum.o delay.o »á°Ñchecksum.oºÍdelay.oºÏ±à³ÉÒ»¸ölib.a
* obj-$(CONFIG_EXT2_FS) += ext2
/±íʾ£¬µ±CONFIG_EXT2_FS=yµÄʱºò£¬ÒªÅܵ½ext2/Ŀ¼Ï²¢make
* EXTRA_CFLAGS, EXTRA_AFLAGS, EXTRA_LDFLAGS, EXTRA_ARFLAGS
EXTRA_CFLAGS
ÊÇÔÚÓÃCC±àÒëC´úÂëµÄʱºò¼ÓflagµÄ,
EXTRA_AFLAGSÊÇÔÚ±àÒë»ã±àÓïÑÔµÄʱºò¼ÓflagÓõÄ,
EXTRA_LDFLAGSÊÇÔÚLDµÄʱºò¼ÓflagÓõÄ,
EXTRA_ARFLAGSÊÇÔÚARµÄʱºò¼ÓflagÓõÄ
* CFLAGS_aha152x.o
= -DAHA152X_STAT -DAUTOCONF±íʾֻÔÚ±àÒëaha152x.oµÄʱºò¼Ó -DAHA152X_STAT -DAUTOCONF
* AFLAGS_head-armv.o := -DTEXTADDR=$(TEXTADDR) -traditionalºÍÉÏÃæ²î²»¶à£¬±íʾÔÚ±àÒëÌض¨»ã±àÎļþʱ¼Óflag
* $(src)
ÊÇMakefileËùÔÚĿ¼µÄÏà¶Ô·¾¶
* $(obj
)ÊÇÄ¿±êÎļþ±£´æÔÚµÄĿ¼µÄÏà¶Ô·¾¶
*
cflags-y += $(call
cc-option
,-march=pentium-mmx,-march=i586)±íʾ£¬Èç¹û$(CC)Ö§³ÖµÄ»°£¬-march=pentium-
mmx»á¼Ó¸øcflags-y£¬²»Ö§³ÖµÄ»°¾Í¼Ó-march=i586¡£»¹ÓÐһЩas-option,ld-option,µÈµÈ£¬»ù±¾ÔÀí¶¼Ò»Ñù
* Òª±àÔÚ±¾µØ»úÉÏÖ±½Ó¿ÉÒÔÅܵijÌÐòÓÃhostprogs,ÀýÈçhostprogs-y
:= bin2hex±íʾ°Ñµ±Ç°Ä¿Â¼ÏµÄbin2hex.c±àÒë³ÉÒ»¸ö¿ÉÖ´ÐÐÎļþ£¨Host Program£©
* ÔÚÒ»¸ö¿ÉÖ´ÐÐÎļþÖÐlinkÆäËûÄ¿±êÎļþµÄ°ì·¨£º
#scripts/lxdialog/Makefile
hostprogs-y := lxdialog
lxdialog-objs := checklist.o lxdialog.o
±íʾchecklist.cºÍlxdialog.c¶¼»á±»±àÒëÇÒ»áÔÚºóÃæºÏ²¢³ÉlxdialogÕâ¸ö¿ÉÖ´ÐÐÎļþ
* »¹ÓÐÆäËû½²host programµÄ£¬ÂÔ¹ý
* make clean
»á×Ô¼ºÉè±ðһЩÎļþ²¢Çå³ý¡£ÊÖ¹¤Ö¸¶¨Çå³ýµÄ°ì·¨
£º
clean-files := devlist.h classlist.h±íʾָ¶¨É¾³ýÕâÁ½¸öÎļþ
clean-dirs := $(objtree)/debian/±íʾɾ³ýÕâ¸öĿ¼¼°×ÓĿ¼
subdir- := compressed/±íʾ¸æËß»
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
Ò».¿âµÄ·ÖÀà
ÓÐÁ½ÖÖ˵·¨£¬Èç¹ûÊìϤWINƽ̨ϵÄDLL£¬ÏàÐŲ»ÄÑÀí½â£º
¿â¿ÉÒÔÓÐÈýÖÖʹÓõÄÐÎʽ£º¾²Ì¬¡¢¹²ÏíºÍ¶¯Ì¬¡£¾²Ì¬¿âµÄ´úÂëÔÚ±àÒëʱ¾ÍÒÑÁ¬½Óµ½¿ª·¢ÈËÔ±¿ª·¢µÄÓ¦ÓóÌÐòÖУ¬¶ø¹²Ïí¿âÖ»ÊÇÔÚ³ÌÐò¿ªÊ¼ÔËÐÐʱ²ÅÔØÈ룬ÔÚ±àÒëʱ£¬
Ö»ÊǼòµ¥µØÖ¸¶¨ÐèҪʹÓõĿ⺯Êý¡£¶¯Ì¬¿âÔòÊÇ ......
yumÊÇʲô?(linuxÃüÁî)
Ò». yumÊÇʲô
yum = Yellow dog Updater, Modified
Ö÷Òª¹¦ÄÜÊǸü·½±ãµÄÌí¼Ó/ɾ³ý/¸üÐÂRPM°ü.
ËüÄÜ×Ô¶¯½â¾ö°üµÄÒÐÀµÐÔÎÊÌâ.
ËüÄܱãÓÚ¹ÜÀí´óÁ¿ÏµÍ³µÄ¸üÐÂÎÊÌâ
×¢:ΪʲôҪʹÓÃyum¶ø²»ÓÃapt,×î¼òµ¥µÄÔÒò,Fedora×Ô´ø
¶þ. yumÌصã
*¿ÉÒÔͬʱÅäÖöà¸ö×ÊÔ´¿â(Repository)
*¼ò½àµÄÅäÖÃÎļ ......
ÔÎÄÁ´½Ó£ºhttp://www.trucy.org/blog/archives/eoiae/000087.html
GDBÊÇÒ»¸öÇ¿´óµÄÃüÁîÐе÷ÊÔ¹¤¾ß¡£´ó¼ÒÖªµÀÃüÁîÐеÄÇ¿´ó¾ÍÊÇÔÚÓÚ£¬Æä¿ÉÒÔÐγÉÖ´ÐÐÐòÁУ¬Ðγɽű¾¡£UNIXϵÄÈí¼þÈ«ÊÇÃüÁîÐеģ¬Õâ¸ø³ÌÐò¿ª·¢Ìá´ú¹©Á˼«´óµÄ±ãÀû£¬ÃüÁîÐÐÈí¼þµÄÓÅÊÆÔÚÓÚ£¬ËüÃÇ¿ÉÒԷdz£ÈÝÒ׵ļ¯³ÉÔÚÒ» ......