hdl: nios: split up build files by platform

This commit is contained in:
Rey Tucker 2018-11-26 18:51:33 -05:00 • committed by Rey Tucker
commit 608bf0b673
4 changed files with 4 additions and 6 deletions

View file

@ -14,6 +14,7 @@ QUARTUS_OUTDIR := $(QUARTUS_WORKDIR)/output_files
ALT_INCLUDE_DIRS += -I ./src
C_SRCS += $(BLADERF_COMMON_DIR)/src/pkt_retune2.c
C_SRCS += ./src/bladeRF_nios.c
#------------------------------------------------------------------------------

View file

@ -43,7 +43,6 @@
#include "pkt_8x64.h"
#include "pkt_16x64.h"
#include "pkt_32x32.h"
#include "pkt_retune.h"
#include "pkt_retune2.h"
#include "pkt_legacy.h"
#include "debug.h"
@ -84,7 +83,6 @@
* to include the magic header byte value in the `magics` array.
*/
static const struct pkt_handler pkt_handlers[] = {
PKT_RETUNE,
PKT_RETUNE2,
PKT_8x8,
PKT_8x16,

View file

@ -14,6 +14,9 @@ QUARTUS_OUTDIR := $(QUARTUS_WORKDIR)/output_files
ALT_INCLUDE_DIRS += -I ./src
C_SRCS += $(FPGA_COMMON_DIR)/src/lms.c
C_SRCS += $(FPGA_COMMON_DIR)/src/band_select.c
C_SRCS += $(BLADERF_COMMON_DIR)/src/pkt_retune.c
C_SRCS += ./src/bladeRF_nios.c
#------------------------------------------------------------------------------

View file

@ -167,12 +167,8 @@ C_SRCS += $(BLADERF_COMMON_DIR)/src/pkt_8x32.c
C_SRCS += $(BLADERF_COMMON_DIR)/src/pkt_8x64.c
C_SRCS += $(BLADERF_COMMON_DIR)/src/pkt_16x64.c
C_SRCS += $(BLADERF_COMMON_DIR)/src/pkt_32x32.c
C_SRCS += $(BLADERF_COMMON_DIR)/src/pkt_retune.c
C_SRCS += $(BLADERF_COMMON_DIR)/src/pkt_retune2.c
C_SRCS += $(BLADERF_COMMON_DIR)/src/pkt_legacy.c
C_SRCS += $(BLADERF_COMMON_DIR)/src/devices_sim.c
C_SRCS += $(FPGA_COMMON_DIR)/src/lms.c
C_SRCS += $(FPGA_COMMON_DIR)/src/band_select.c
CXX_SRCS :=
ASM_SRCS :=