- fixed test_emac_sim
git-svn-id: http://moon:8086/svn/mips@205 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
+2
-2
@@ -442,8 +442,8 @@ $(BUILD_DIR)/test_gpio.elf: $(BUILD_DIR) test_gpio.c marvell_88e1111.c mii-bitba
|
|||||||
cat $@.srec | $(PACKHEX) > $@.pack
|
cat $@.srec | $(PACKHEX) > $@.pack
|
||||||
$(OBJCOPY) -O ihex -I binary $@.flash.bin $@.hex
|
$(OBJCOPY) -O ihex -I binary $@.flash.bin $@.hex
|
||||||
|
|
||||||
$(BUILD_DIR)/test_emac_sim.elf: $(BUILD_DIR) test_emac_sim.c emac.c emac.h
|
$(BUILD_DIR)/test_emac_sim.elf: $(BUILD_DIR) test_emac_sim.c common/network/emac.c common/network/emac.h
|
||||||
$(CC) $(CFLAGS) -o $@ -Os test_emac_sim.c emac.c $(LIBS) >$@.map
|
$(CC) $(CFLAGS) -o $@ -Os test_emac_sim.c common/network/emac.c $(LIBS) >$@.map
|
||||||
$(OBJDUMP) -d $@ > $@.dis
|
$(OBJDUMP) -d $@ > $@.dis
|
||||||
$(OBJCOPY) $@ -O binary $@.bin
|
$(OBJCOPY) $@ -O binary $@.bin
|
||||||
$(OBJCOPY) -O srec $@ $@.srec
|
$(OBJCOPY) -O srec $@ $@.srec
|
||||||
|
|||||||
+1
-1
@@ -8,7 +8,7 @@
|
|||||||
#include <libsys/irq.h>
|
#include <libsys/irq.h>
|
||||||
#include <libsys/cop0.h>
|
#include <libsys/cop0.h>
|
||||||
|
|
||||||
#include "emac.h"
|
#include <network/emac.h>
|
||||||
|
|
||||||
volatile uint32_t g_rx_pkt_cnt;
|
volatile uint32_t g_rx_pkt_cnt;
|
||||||
volatile uint32_t g_rx_byte_cnt;
|
volatile uint32_t g_rx_byte_cnt;
|
||||||
|
|||||||
Reference in New Issue
Block a user