SYNC CL : MSM8953 @ CL#:12212299
     PROJECT PATH : // Platform / N / NILE / COMBINATION / MSM8953
Cross Reference: Android.mkxref: /android/vendor/samsung/variant/audio/hal/Android.mk
HomeHistoryAnnotateLine#NavigateRawDownload  only in /android/vendor/samsung/variant/audio/hal/1ifeq ($(strip $(BOARD_USES_ALSA_AUDIO)),true)
2
3LOCAL_PATH := $(call my-dir)
4
5include $(CLEAR_VARS)
6
7LOCAL_ARM_MODE := arm
8
9AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM)
10
11ifneq ($(filter msm8974 msm8226 msm8610 apq8084 msm8994 msm8992 msm8996 msmcobalt,$(TARGET_BOARD_PLATFORM)),)
12    # B-family platform uses msm8974 code base
13    AUDIO_PLATFORM = msm8974
14    MULTIPLE_HW_VARIANTS_ENABLED := true
15ifneq ($(filter msm8610,$(TARGET_BOARD_PLATFORM)),)
16    LOCAL_CFLAGS := -DPLATFORM_MSM8610
17endif
18ifneq ($(filter msm8226,$(TARGET_BOARD_PLATFORM)),)
19    LOCAL_CFLAGS := -DPLATFORM_MSM8x26
20endif
21ifneq ($(filter apq8084,$(TARGET_BOARD_PLATFORM)),)
22    LOCAL_CFLAGS := -DPLATFORM_APQ8084
23endif
24ifneq ($(filter msm8994,$(TARGET_BOARD_PLATFORM)),)
25    LOCAL_CFLAGS := -DPLATFORM_MSM8994
26endif
27ifneq ($(filter msm8992,$(TARGET_BOARD_PLATFORM)),)
28    LOCAL_CFLAGS := -DPLATFORM_MSM8994
29endif
30ifneq ($(filter msm8996,$(TARGET_BOARD_PLATFORM)),)
31    LOCAL_CFLAGS := -DPLATFORM_MSM8996
32endif
33ifneq ($(filter msmcobalt,$(TARGET_BOARD_PLATFORM)),)
34    LOCAL_CFLAGS := -DPLATFORM_MSMCOBALT
35endif
36endif
37
38ifneq ($(filter msm8916 msm8909 msm8952 msm8937 thorium msm8953 msmgold msmfalcon,$(TARGET_BOARD_PLATFORM)),)
39    AUDIO_PLATFORM = msm8916
40    MULTIPLE_HW_VARIANTS_ENABLED := true
41    LOCAL_CFLAGS := -DPLATFORM_MSM8916
42ifneq ($(filter msm8909,$(TARGET_BOARD_PLATFORM)),)
43    LOCAL_CFLAGS := -DPLATFORM_MSM8909
44endif
45ifneq ($(filter msm8937,$(TARGET_BOARD_PLATFORM)),)
46  LOCAL_CFLAGS := -DPLATFORM_MSM8937
47endif
48ifneq ($(filter msmfalcon,$(TARGET_BOARD_PLATFORM)),)
49    LOCAL_CFLAGS := -DPLATFORM_MSMFALCON
50endif
51endif
52
53LOCAL_SRC_FILES := \
54    audio_hw.c \
55    voice.c \
56    platform_info.c \
57    $(AUDIO_PLATFORM)/platform.c
58
59#add for samsung
60LOCAL_SRC_FILES += sec_audio/audio_hw_sec.c
61LOCAL_SRC_FILES += sec_audio/audio_hw_factory.c
62
63LOCAL_SRC_FILES += audio_extn/audio_extn.c \
64                   audio_extn/utils.c
65LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
66LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
67
68ifeq ($(strip $(AUDIO_FEATURE_ENABLED_HDMI_EDID)),true)
69    LOCAL_CFLAGS += -DHDMI_EDID
70    LOCAL_SRC_FILES += edid.c
71endif
72
73ifeq ($(strip $(AUDIO_USE_LL_AS_PRIMARY_OUTPUT)),true)
74    LOCAL_CFLAGS += -DUSE_LL_AS_PRIMARY_OUTPUT
75endif
76
77ifeq ($(strip $(AUDIO_FEATURE_ENABLED_PCM_OFFLOAD)),true)
78    LOCAL_CFLAGS += -DPCM_OFFLOAD_ENABLED
79endif
80
81ifeq ($(strip $(AUDIO_FEATURE_ENABLED_ANC_HEADSET)),true)
82    LOCAL_CFLAGS += -DANC_HEADSET_ENABLED
83endif
84
85ifeq ($(strip $(AUDIO_FEATURE_ENABLED_HIFI_AUDIO)),true)
86    LOCAL_CFLAGS += -DHIFI_AUDIO_ENABLED
87endif
88
89ifeq ($(strip $(AUDIO_FEATURE_ENABLED_VBAT_MONITOR)),true)
90    LOCAL_CFLAGS += -DVBAT_MONITOR_ENABLED
91endif
92
93ifeq ($(strip $(AUDIO_FEATURE_ENABLED_FLUENCE)),true)
94    LOCAL_CFLAGS += -DFLUENCE_ENABLED
95endif
96
97ifeq ($(strip $(AUDIO_FEATURE_ENABLED_PROXY_DEVICE)),true)
98    LOCAL_CFLAGS += -DAFE_PROXY_ENABLED
99endif
100
101ifeq ($(strip $(AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE)),true)
102    LOCAL_CFLAGS += -DKPI_OPTIMIZE_ENABLED
103endif
104
105ifeq (true,$(call spf_check,SEC_PRODUCT_FEATURE_AUDIO_FMRADIO,TRUE))
106ifeq ($(strip $(AUDIO_FEATURE_ENABLED_FM_POWER_OPT)),true)
107    LOCAL_CFLAGS += -DFM_POWER_OPT
108    LOCAL_SRC_FILES += audio_extn/fm.c
109endif
110endif
111
112ifeq ($(strip $(AUDIO_FEATURE_ENABLED_USB_TUNNEL_AUDIO)),true)
113    LOCAL_CFLAGS += -DUSB_HEADSET_ENABLED
114    LOCAL_SRC_FILES += audio_extn/usb.c
115endif
116
117ifeq ($(strip $(AUDIO_FEATURE_ENABLED_HFP)),true)
118    LOCAL_CFLAGS += -DHFP_ENABLED
119    LOCAL_SRC_FILES += audio_extn/hfp.c
120endif
121
122ifeq ($(strip $(AUDIO_FEATURE_ENABLED_CUSTOMSTEREO)),true)
123    LOCAL_CFLAGS += -DCUSTOM_STEREO_ENABLED
124endif
125
126ifeq ($(strip $(AUDIO_FEATURE_ENABLED_SSR)),true)
127    LOCAL_CFLAGS += -DSSR_ENABLED
128    LOCAL_SRC_FILES += audio_extn/ssr.c
129    LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/mm-audio/surround_sound_3mic/
130    LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/common/inc/
131endif
132
133ifeq ($(strip $(AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS)),true)
134    LOCAL_CFLAGS += -DMULTI_VOICE_SESSION_ENABLED
135    LOCAL_SRC_FILES += voice_extn/voice_extn.c
136
137ifeq ($(strip $(AUDIO_FEATURE_ENABLED_INCALL_MUSIC)),true)
138    LOCAL_CFLAGS += -DINCALL_MUSIC_ENABLED
139endif
140endif
141
142ifeq ($(strip $(AUDIO_FEATURE_ENABLED_COMPRESS_VOIP)),true)
143    LOCAL_CFLAGS += -DCOMPRESS_VOIP_ENABLED
144    LOCAL_SRC_FILES += voice_extn/compress_voip.c
145endif
146
147ifeq ($(strip $(AUDIO_FEATURE_ENABLED_EXTN_FORMATS)),true)
148    LOCAL_CFLAGS += -DAUDIO_EXTN_FORMATS_ENABLED
149endif
150
151ifeq ($(strip $(AUDIO_FEATURE_ENABLED_SPKR_PROTECTION)),true)
152    LOCAL_CFLAGS += -DSPKR_PROT_ENABLED
153    LOCAL_SRC_FILES += audio_extn/spkr_protection.c
154endif
155
156ifdef MULTIPLE_HW_VARIANTS_ENABLED
157    LOCAL_CFLAGS += -DHW_VARIANTS_ENABLED
158    LOCAL_SRC_FILES += $(AUDIO_PLATFORM)/hw_info.c
159endif
160
161ifeq ($(strip $(AUDIO_FEATURE_ENABLED_COMPRESS_CAPTURE)),true)
162    LOCAL_CFLAGS += -DCOMPRESS_CAPTURE_ENABLED
163    LOCAL_SRC_FILES += audio_extn/compress_capture.c
164endif
165
166ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DTS_EAGLE)),true)
167    LOCAL_CFLAGS += -DDTS_EAGLE
168    LOCAL_SRC_FILES += audio_extn/dts_eagle.c
169endif
170
171ifeq ($(strip $(DOLBY_DDP)),true)
172    LOCAL_CFLAGS += -DDS1_DOLBY_DDP_ENABLED
173    LOCAL_SRC_FILES += audio_extn/dolby.c
174endif
175
176ifeq ($(strip $(DS1_DOLBY_DAP)),true)
177    LOCAL_CFLAGS += -DDS1_DOLBY_DAP_ENABLED
178ifneq ($(strip $(DOLBY_DDP)),true)
179    LOCAL_SRC_FILES += audio_extn/dolby.c
180endif
181endif
182
183ifeq ($(strip $(AUDIO_FEATURE_ENABLED_EXTN_FLAC_DECODER)),true)
184    LOCAL_CFLAGS += -DFLAC_OFFLOAD_ENABLED
185    LOCAL_CFLAGS += -DCOMPRESS_METADATA_NEEDED
186endif
187
188ifeq ($(strip $(AUDIO_FEATURE_ENABLED_VORBIS_OFFLOAD)),true)
189    LOCAL_CFLAGS += -DVORBIS_OFFLOAD_ENABLED
190    LOCAL_CFLAGS += -DCOMPRESS_METADATA_NEEDED
191endif
192
193ifeq ($(strip $(AUDIO_FEATURE_ENABLED_WMA_OFFLOAD)),true)
194    LOCAL_CFLAGS += -DWMA_OFFLOAD_ENABLED
195    LOCAL_CFLAGS += -DCOMPRESS_METADATA_NEEDED
196endif
197
198ifeq ($(strip $(AUDIO_FEATURE_ENABLED_ALAC_OFFLOAD)),true)
199    LOCAL_CFLAGS += -DALAC_OFFLOAD_ENABLED
200    LOCAL_CFLAGS += -DCOMPRESS_METADATA_NEEDED
201endif
202
203ifeq ($(strip $(AUDIO_FEATURE_ENABLED_APE_OFFLOAD)),true)
204    LOCAL_CFLAGS += -DAPE_OFFLOAD_ENABLED
205    LOCAL_CFLAGS += -DCOMPRESS_METADATA_NEEDED
206endif
207
208ifeq ($(strip $(AUDIO_FEATURE_ENABLED_PCM_OFFLOAD_24)),true)
209       LOCAL_CFLAGS += -DPCM_OFFLOAD_ENABLED_24
210endif
211
212ifeq ($(strip $(AUDIO_FEATURE_ENABLED_AAC_ADTS_OFFLOAD)),true)
213    LOCAL_CFLAGS += -DAAC_ADTS_OFFLOAD_ENABLED
214endif
215
216ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DEV_ARBI)),true)
217    LOCAL_CFLAGS += -DDEV_ARBI_ENABLED
218    LOCAL_SRC_FILES += audio_extn/dev_arbi.c
219endif
220
221ifeq ($(strip $(AUDIO_FEATURE_ENABLED_RECORD_PLAY_CONCURRENCY)),true)
222    LOCAL_CFLAGS += -DRECORD_PLAY_CONCURRENCY
223endif
224
225ifeq ($(strip $(AUDIO_FEATURE_ENABLED_ACDB_LICENSE)), true)
226    LOCAL_CFLAGS += -DDOLBY_ACDB_LICENSE
227endif
228
229ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DS2_DOLBY_DAP)),true)
230    LOCAL_CFLAGS += -DDS2_DOLBY_DAP_ENABLED
231    LOCAL_CFLAGS += -DDS1_DOLBY_DDP_ENABLED
232ifneq ($(strip $(DOLBY_DDP)),true)
233    ifneq ($(strip $(DS1_DOLBY_DAP)),true)
234        LOCAL_SRC_FILES += audio_extn/dolby.c
235    endif
236endif
237endif
238
239ifeq ($(strip $(AUDIO_FEATURE_ENABLED_HDMI_PASSTHROUGH)),true)
240    LOCAL_CFLAGS += -DHDMI_PASSTHROUGH_ENABLED
241    LOCAL_SRC_FILES += audio_extn/passthru.c
242endif
243
244ifeq ($(strip $(AUDIO_FEATURE_ENABLED_KEEP_ALIVE)),true)
245    LOCAL_CFLAGS += -DKEEP_ALIVE_ENABLED
246    LOCAL_SRC_FILES += audio_extn/keep_alive.c
247endif
248
249ifeq ($(strip $(AUDIO_FEATURE_ENABLED_SOURCE_TRACKING)),true)
250    LOCAL_CFLAGS += -DSOURCE_TRACKING_ENABLED
251    LOCAL_SRC_FILES += audio_extn/source_track.c
252endif
253
254ifeq ($(strip $(AUDIO_FEATURE_ENABLED_SPLIT_A2DP)),true)
255    LOCAL_CFLAGS += -DSPLIT_A2DP_ENABLED
256    LOCAL_SRC_FILES += audio_extn/a2dp.c
257endif
258
259LOCAL_SHARED_LIBRARIES := \
260    libpower \
261    liblog \
262    libcutils \
263    libtinyalsa \
264    libtinycompress \
265    libaudioroute \
266    libdl \
267    libaudioutils \
268    libhardware \
269    libexpat
270
271ifneq (,$(filter $(call spf_get,SEC_PRODUCT_FEATURE_AUDIO_CONFIG_SPEAKER_AMP), 9890 9895 9896 9897))
272ifeq (true,$(call spf_check,SEC_PRODUCT_FEATURE_AUDIO_CONFIG_SPEAKER_AMP,9896))
273    LOCAL_CFLAGS += -DUSE_TFA9896
274endif
275ifeq (true,$(call spf_check,SEC_PRODUCT_FEATURE_AUDIO_CONFIG_SPEAKER_AMP,9890))
276    LOCAL_CFLAGS += -DUSE_TFA9890
277endif
278    LOCAL_SRC_FILES  += audio_extn/tfa98xx_amp.c
279    LOCAL_CFLAGS += -DSEC_AUDIO_SPEAKER_AMP_NXP
280
281    LOCAL_SHARED_LIBRARIES += \
282        libtfa98xx
283
284    LOCAL_C_INCLUDES += \
285        vendor/samsung/frameworks/audio/tfa_amp
286endif
287
288LOCAL_C_INCLUDES += \
289    external/tinyalsa/include \
290    external/tinycompress/include \
291    system/media/audio_utils/include \
292    external/expat/lib \
293    $(call include-path-for, audio-route) \
294    $(call include-path-for, audio-effects) \
295    $(LOCAL_PATH)/$(AUDIO_PLATFORM) \
296    $(LOCAL_PATH)/audio_extn \
297    $(LOCAL_PATH)/voice_extn
298
299ifeq ($(strip $(AUDIO_FEATURE_ENABLED_LISTEN)),true)
300    LOCAL_CFLAGS += -DAUDIO_LISTEN_ENABLED
301    LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/mm-audio/audio-listen
302    LOCAL_SRC_FILES += audio_extn/listen.c
303endif
304
305ifeq ($(strip $(AUDIO_FEATURE_ENABLED_EXT_HDMI)),true)
306    LOCAL_CFLAGS += -DAUDIO_EXTERNAL_HDMI_ENABLED
307ifeq ($(strip $(AUDIO_FEATURE_ENABLED_HDMI_PASSTHROUGH)),true)
308    LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/mm-audio/audio-parsers
309    LOCAL_SHARED_LIBRARIES += libaudioparsers
310endif
311endif
312
313ifeq ($(strip $(BOARD_SUPPORTS_SOUND_TRIGGER)),true)
314    LOCAL_CFLAGS += -DSOUND_TRIGGER_ENABLED
315    LOCAL_CFLAGS += -DSOUND_TRIGGER_PLATFORM_NAME=$(TARGET_BOARD_PLATFORM)
316    LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/mm-audio/sound_trigger
317    LOCAL_SRC_FILES += audio_extn/soundtrigger.c
318endif
319
320ifeq ($(strip $(AUDIO_FEATURE_ENABLED_AUXPCM_BT)),true)
321    LOCAL_CFLAGS += -DAUXPCM_BT_ENABLED
322endif
323
324ifeq ($(strip $(AUDIO_FEATURE_ENABLED_PM_SUPPORT)),true)
325    LOCAL_CFLAGS += -DPM_SUPPORT_ENABLED
326    LOCAL_SRC_FILES += audio_extn/pm.c
327    LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libperipheralclient/inc
328    LOCAL_SHARED_LIBRARIES += libperipheral_client
329endif
330
331ifeq (true,$(call spf_check,SEC_PRODUCT_FEATURE_AUDIO_CONFIG_SEAMLESS_CHIPSET_VERSION,DBMD2))
332    LOCAL_SRC_FILES += voice_seamless/cvq_stream.c
333    LOCAL_C_INCLUDES += $(LOCAL_PATH)/voice_seamless
334endif
335
336#libaudio_soundtrigger
337LOCAL_C_INCLUDES += vendor/samsung/frameworks/audio/soundtrigger_hal/audio_soundtrigger
338LOCAL_SHARED_LIBRARIES += libaudio_soundtrigger
339
340ifneq (true,$(call spf_check,SEC_PRODUCT_FEATURE_AUDIO_CONFIG_RECORDALIVE_LIB_VERSION,))
341    LOCAL_C_INCLUDES += vendor/samsung/frameworks/audio/recordalive
342    LOCAL_SHARED_LIBRARIES += librecordalive
343else
344    LOCAL_C_INCLUDES += vendor/samsung/frameworks/audio/preprocess
345    LOCAL_SHARED_LIBRARIES += libSamsungPreProcess
346endif
347
348ifeq (true,$(call spf_check,SEC_PRODUCT_FEATURE_AUDIO_SOUNDBOOSTER,TRUE))
349    LOCAL_C_INCLUDES += vendor/samsung/frameworks/audio/postprocess
350    LOCAL_SHARED_LIBRARIES += libSamsungPostProcess
351endif
352
353ifeq (true,$(call spf_check,SEC_PRODUCT_FEATURE_AUDIO_VOICE_NOTE_PCM_RECORDING,TRUE))
354    LOCAL_SHARED_LIBRARIES += libSamsungPostProcessConvertor
355    LOCAL_C_INCLUDES += vendor/samsung/frameworks/audio/postprocessconvertor
356endif
357
358#samsung resampler
359LOCAL_C_INCLUDES += sec_audio/voipresampler
360LOCAL_SHARED_LIBRARIES += libsamsungVoipResampler
361
362ifeq (true,$(call spf_check,SEC_PRODUCT_FEATURE_AUDIO_CONFIG_EXTERNAL_MODEM_TYPE,MSM8937LA30))
363    LOCAL_CFLAGS += -DMODEM_MSM8937LA30
364endif
365
366ifeq ($(findstring DUALCP,$(call spf_get,SEC_PRODUCT_FEATURE_AUDIO_CONFIG_TYPE_MULTI_SIM)),DUALCP)
367ifeq ($(filter MDM%,$(call spf_get,SEC_PRODUCT_FEATURE_AUDIO_CONFIG_EXTERNAL_MODEM_TYPE)),)
368    LOCAL_C_INCLUDES += $(TOP)/hardware/ril/libsecril-client
369    LOCAL_SHARED_LIBRARIES += libsecril-client
370    LOCAL_SHARED_LIBRARIES += libaudio-ril
371    LOCAL_C_INCLUDES += $(TOP)/vendor/samsung/frameworks/audio/audioril
372endif
373endif
374
375#add for csc feature
376LOCAL_C_INCLUDES += vendor/samsung/configs/feature/CscFeature/libsecnativefeature
377LOCAL_SHARED_LIBRARIES += libsecnativefeature
378
379# [SAMSUNG] To support the effects for the offload
380LOCAL_C_INCLUDES += vendor/samsung/frameworks/audio/audioeffect_offload
381
382ifeq ($(SEC_PRODUCT_SHIP),false)
383    LOCAL_CFLAGS += -DAUDIO_CORE_UTILS
384    LOCAL_C_INCLUDES += vendor/samsung/frameworks/audio/audiocoreutils
385    LOCAL_SHARED_LIBRARIES += libsecaudiocoreutils
386else ifeq ($(TARGET_BUILD_VARIANT), eng)
387    LOCAL_CFLAGS += -DAUDIO_CORE_UTILS
388    LOCAL_C_INCLUDES += vendor/samsung/frameworks/audio/audiocoreutils
389    LOCAL_SHARED_LIBRARIES += libsecaudiocoreutils
390endif
391ifeq (true,$(call spf_check,SEC_PRODUCT_FEATURE_AUDIO_CONFIG_CORE_FX_FRAMEWORK_VERSION,3.0))
392    LOCAL_CFLAGS += -DAUDIOCORE_FX_FRAMEWORK_V3
393endif
394
395LOCAL_CFLAGS += -Wall -Werror -Wno-unused-function
396LOCAL_COPY_HEADERS_TO   := mm-audio
397LOCAL_COPY_HEADERS      := audio_extn/audio_defs.h
398
399LOCAL_MODULE := audio.primary.$(TARGET_BOARD_PLATFORM)
400
401LOCAL_MODULE_RELATIVE_PATH := hw
402
403LOCAL_MULTILIB := 32
404
405LOCAL_MODULE_TAGS := optional
406
407include $(BUILD_SHARED_LIBRARY)
408
409endif
410Last source parsed date : 2017-07-06 PM 04:56:44

回去看linux的指令的更多相关文章

  1. 回去看linux的指令2

    SYNC CL : MSM8953 @ CL#:12212299 PROJECT PATH : // Platform / N / NILE / COMBINATION / MSM8953 Cross ...

  2. 回去看linux的指令1

    SYNC CL : MSM8953 @ CL#:12212299 PROJECT PATH : // Platform / N / NILE / COMBINATION / MSM8953 Cross ...

  3. 羽夏看Linux内核——启动那些事

    写在前面   此系列是本人一个字一个字码出来的,包括示例和实验截图.如有好的建议,欢迎反馈.码字不易,如果本篇文章有帮助你的,如有闲钱,可以打赏支持我的创作.如想转载,请把我的转载信息附在文章后面,并 ...

  4. 羽夏看Linux内核——门相关入门知识

    写在前面   此系列是本人一个字一个字码出来的,包括示例和实验截图.如有好的建议,欢迎反馈.码字不易,如果本篇文章有帮助你的,如有闲钱,可以打赏支持我的创作.如想转载,请把我的转载信息附在文章后面,并 ...

  5. ROS零门槛学渣教程系列(二)——Linux常用指令:mkdir、tar、 unzip、cp、scp、mv、rm、find、apt、ssh

    Linux常用指令通过上一教程,我们获得了ubuntu系统.Linux是一个很大的领域.但不要紧张,我们一步步来就是了,跟着教程,需要能用到新知识,会提前介绍给大家.下面学习几个常用的Linux指令. ...

  6. 【ZZ】Linux常用指令

    linux常用指令 - 个人文章 - SegmentFault 思否 https://segmentfault.com/a/1190000011068772 查看目录下有什么文件信息 ls //lis ...

  7. Linux/Unix 指令使用说明的格式介绍(the Bash Command 'Usage' Syntax)

    Linux/Unix 指令使用说明的格式介绍(the Bash Command 'Usage' Syntax) 摘自    金马的Blog 原文  http://www.lijinma.com/blo ...

  8. Linux 基础指令初识

    Linux 基础指令初识 01. ls 指令 语法: ls [选项] [目录或文件] 功能:对于目录,该命令列出该目录下的所有子目录与文件.对于文件,将列出文件名以及其他信息 -a 列出目录下的所有文 ...

  9. linux 实用指令文件目录类

    目录 linux实用指令文件目录类 路径 pwd指令 cd指令 操作文件夹/文件 ls指令 mkdir rmdir touch cp(重要) rm mv 操作内容 cat more less > ...

随机推荐

  1. pom指定java编译版本和编码

    方法一 <properties> <!-- 文件拷贝时的编码 --> <project.build.sourceEncoding>UTF-8</project ...

  2. D3D-GetBackBuffer &GetFrontBufferData 抓屏&D3D抓取GPU数据

    HRESULT GetBackBuffer( [in]          UINT                iSwapChain, [in]          UINT              ...

  3. CentOS 多版本python安装pip

    首先配置环境 安装 zlib,zlib-devel,openssl,openssl-devel yum install zlib yum install zlib-devel yum install ...

  4. update svn cache 慢

    eclipse 打开了一个工程,就进行了update svn cache,弄了2个多小时了还是在进行.观察这个过程在空文件夹上也进行了不少时间,我感觉到可能方法错了.试了下关闭SVN--> sv ...

  5. 迷你MVVM框架 avalonjs 0.98发布

    在本版本中,avalon侧重于对组件开发的支持,可用控件达到12个,末来将大力投入对GRID,TREE等重型UI的开发中. 添加ms-widget绑定,废弃ms-ui绑定 为ms-include添加跨 ...

  6. TFS自动签出解决方案sln或者项目文件csproj的解决办法

    问题: 最近公司一个项目组的源代码解决方案打开时总是出现解决方案或者部分项目被自动签出的情况,但签入又提示没有变更.事情虽 小,导致几个程序员要用项目文件时总是要找其他人签入.浪费不少时间.出现时间有 ...

  7. 用c++实现获取程序运行的时间

    看代码: #include<iostream> #include<ctime> using namespace std; int main() { int i; time_t ...

  8. JS 将json数组转为嵌套层级数组

    ele UI 的树级菜单的数据要求是这种嵌套的,但是Ztree的老用发的是 var zNodes =[ { id:, pId:, name:"zTree Home", pid:0} ...

  9. asdfadsf

    bool is_r_value(int &&) { return true; } bool is_r_value(const int &) { return false; } ...

  10. 对于一个web工程,如果我们复制一个已有的工程粘贴到同一个workspace下,我们除了需要更改工程的名字还需要更改这个新工程的content root,否则会报错。

    对于一个web工程,如果我们复制一个已有的工程粘贴到同一个workspace下,我们除了需要更改工程的名字还需要更改这个新工程的content root,否则会报错.步骤如下: 右键新的工程---&g ...