- refactored
git-svn-id: http://moon:8086/svn/vhdl/trunk@1541 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -1,23 +1,16 @@
|
||||
# -----------------------------------------------------------
|
||||
include emac_tx.inc
|
||||
include emac_rx.inc
|
||||
include $(VHDL_HOME)/make/defs.mk
|
||||
# -----------------------------------------------------------
|
||||
include $(LIB_PATH)/emac/ghdl/emac_tx.inc
|
||||
include $(LIB_PATH)/emac/ghdl/emac_rx.inc
|
||||
|
||||
# -----------------------------------------------------------
|
||||
PKG_NAME := EMAC_JBUS
|
||||
ROOT_PATH := ../../..
|
||||
LIB_PATH := $(ROOT_PATH)/lib
|
||||
CUR_PATH := $(shell dirname $(lastword $(MAKEFILE_LIST)))
|
||||
|
||||
# -----------------------------------------------------------
|
||||
SRCS += $(EMAC_RX_SRCS)
|
||||
SRCS += $(EMAC_TX_SRCS)
|
||||
SRCS += $(LIB_PATH)/emac/src/emac_top_jb.vhd
|
||||
$(PKG_NAME)_SRCS += $(EMAC_RX_SRCS)
|
||||
$(PKG_NAME)_SRCS += $(EMAC_TX_SRCS)
|
||||
$(PKG_NAME)_SRCS += $(LIB_PATH)/emac/src/emac_top_jb.vhd
|
||||
|
||||
# -----------------------------------------------------------
|
||||
$(PKG_NAME)_SRCS := $(addprefix $(CUR_PATH)/,$(SRCS))
|
||||
|
||||
SRCS :=
|
||||
CUR_PATH :=
|
||||
ROOT_PATH :=
|
||||
LIB_PATH :=
|
||||
|
||||
|
||||
Reference in New Issue
Block a user