URL
https://opencores.org/ocsvn/pcie_ds_dma/pcie_ds_dma/trunk
Subversion Repositories pcie_ds_dma
Compare Revisions
- This comparison shows the changes necessary to convert path
/pcie_ds_dma/trunk/soft/linux/exam
- from Rev 2 to Rev 6
- ↔ Reverse comparison
Rev 2 → Rev 6
/pex_test.cpp
15,6 → 15,8
#include <sys/mman.h> |
#include <fcntl.h> |
|
#include "utypes_linux.h" |
#include "brd_info.h" |
#include "pexioctl.h" |
#include "ambpexregs.h" |
|
/Makefile
12,11 → 12,11
CC = $(CROSS_COMPILE)g++ |
LD = $(CROSS_COMPILE)g++ |
|
CFLAGS := -D__LINUX__ -g -Wall -I../driver/pexdrv -I../common/board |
CFLAGS := -D__LINUX__ -g -Wall -I../driver/pexdrv -I../common/board -I../common/utils |
LFLAGS = -Wl |
|
$(TARGET_NAME): $(patsubst %.cpp,%.o, $(wildcard *.cpp)) |
$(LD) $(LFLAGS) $(notdir $^) -o $(TARGET_NAME) |
$(LD) -o $(TARGET_NAME) $(notdir $^) $(LFLAGS) |
rm -f *.o *~ core |
|
%.o: %.cpp |