Skip to content

Commit

Permalink
some debugging work done, not ready for prime time
Browse files Browse the repository at this point in the history
  • Loading branch information
ludolinux committed Apr 16, 2015
1 parent 0d2ae52 commit 6055a46
Show file tree
Hide file tree
Showing 2 changed files with 167 additions and 124 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,9 @@ test: posix
@mkdir -p $(PREFIX)/test/
@make -C test/examples PREFIX=$(PREFIX)
@echo -e "\t[CC] picoapp.o"
@gcc -c -o $(PREFIX)/examples/picoapp.o test/picoapp.c $(CFLAGS)
@gcc -g -c -o $(PREFIX)/examples/picoapp.o test/picoapp.c $(CFLAGS)

This comment has been minimized.

Copy link
@danielinux

danielinux Apr 16, 2015

Contributor

-g and -ggdb are already the default for tests, they are in fact included in the CFLAGS, unless you compile using

make test DEBUG=0

This addition in the Makefile may be not needed

@echo -e "\t[LD] $@"
@$(CC) -o $(TEST_ELF) -I include -I modules -I $(PREFIX)/include -Wl,--start-group $(TEST_LDFLAGS) $(TEST_OBJ) $(PREFIX)/examples/*.o -Wl,--end-group
@$(CC) -g -o $(TEST_ELF) -I include -I modules -I $(PREFIX)/include -Wl,--start-group $(TEST_LDFLAGS) $(TEST_OBJ) $(PREFIX)/examples/*.o -Wl,--end-group

This comment has been minimized.

Copy link
@danielinux

danielinux Apr 16, 2015

Contributor

see above

@mv test/*.elf $(PREFIX)/test
@install $(PREFIX)/$(TEST_ELF) $(PREFIX)/$(TEST6_ELF)

Expand Down
Loading

0 comments on commit 6055a46

Please sign in to comment.