- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi again,
Working through my problems at a good pace here, and I have now found myself a bit confused trying to incorporate the asm/irq.h from the com.microtronix.nios2linux.uClibc_1.4.0 library into my project. Inclusion of some headers from this lib don't pose an issue. However, when trying to access this one in particular I can't seem to alleviate the abundance of compilation errors. I think I'm missing something in my Makefile, which follows:# # configurable options# - set DEBUG = 1 to turn on debugging support#
DEBUG = 1
PROJ_NAME = CFrst
INSTALL_DIR =
PROGS := $(PROJ_NAME).exe
ECLIPSE_WORKSPACE := /cygdrive/c/Data/DCSU
KERNEL_PROJECT := kernel_2s60
BUILDDIR := $(ECLIPSE_WORKSPACE)/$(KERNEL_PROJECT)/build/include
CFLAGS += -O0 -g -I$(BUILDDIR)
# # You should not need to modify anything beyond this point# # TOPDIR = ..
include Rules.mak
ifeq '$(DEBUG)' '1'
PROGS += $(PROGS:.exe=.gdb)
endif
all: $(PROGS)
.PHONY: clean
clean:
-rm -f *. *.elf *.gdb *.bin *.exe
.PHONY: install
install: all
ifeq "$(INSTALL_DIR)" ""
$(error No installation directory specified)
endif
mkdir -p $(INSTALL_DIR)/bin
install -v $(filter %.exe, $(PROGS)) $(INSTALL_DIR)/bin
Any suggestions? Thanks much, Matt
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page