sim_offload: move out of the posix directory
The libmad and libmp3lame libraries have been ported to apps/audioutils and will be compiled with NuttX. Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
This commit is contained in:
parent
6eb286ae01
commit
6637606096
@ -249,7 +249,6 @@ ifeq ($(CONFIG_SIM_SOUND_ALSA),y)
|
||||
CSRCS += sim_alsa.c
|
||||
CSRCS += sim_offload.c
|
||||
STDLIBS += -lasound
|
||||
STDLIBS += -lmp3lame
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_SIM_CAMERA_V4L2),y)
|
||||
|
@ -123,10 +123,9 @@ endif()
|
||||
|
||||
if(CONFIG_SIM_SOUND_ALSA)
|
||||
list(APPEND SRCS posix/sim_alsa.c)
|
||||
list(APPEND SRCS posix/sim_offload.c)
|
||||
list(APPEND SRCS sim_offload.c)
|
||||
list(APPEND STDLIBS asound)
|
||||
list(APPEND STDLIBS mad)
|
||||
list(APPEND STDLIBS mp3lame)
|
||||
endif()
|
||||
|
||||
# host sources ###############################################################
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/sim/src/sim/posix/sim_offload.c
|
||||
* arch/sim/src/sim/sim_offload.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/sim/src/sim/posix/sim_offload.h
|
||||
* arch/sim/src/sim/sim_offload.h
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
@ -18,8 +18,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __ARCH_SIM_SRC_POSIX_SIM_OFFLOAD_H
|
||||
#define __ARCH_SIM_SRC_POSIX_SIM_OFFLOAD_H
|
||||
#ifndef __ARCH_SIM_SRC_SIM_OFFLOAD_H
|
||||
#define __ARCH_SIM_SRC_SIM_OFFLOAD_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@ -74,4 +74,4 @@ typedef struct sim_codec_ops_s
|
||||
|
||||
extern const sim_codec_ops_s g_codec_ops[];
|
||||
|
||||
#endif /* __ARCH_SIM_SRC_POSIX_SIM_OFFLOAD_H */
|
||||
#endif /* __ARCH_SIM_SRC_SIM_OFFLOAD_H */
|
Loading…
Reference in New Issue
Block a user