Skip to content

Commit

Permalink
Merge pull request #6 from mehlis/master
Browse files Browse the repository at this point in the history
minor fixes
  • Loading branch information
LudwigKnuepfer committed Jun 3, 2013
2 parents 39f01d2 + b159234 commit d5676a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions native/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ $(BINDIR)native_base.a: $(OBJ)

# compile and generate dependency info
$(BINDIR)%.o: %.c
-mkdir $(BINDIR)
-mkdir -p $(BINDIR)
$(CC) $(CFLAGS) $(INCLUDES) $(BOARDINCLUDE) $(PROJECTINCLUDE) $(CPUINCLUDE) -c $*.c -o $(BINDIR)$*.o
$(CC) $(CFLAGS) $(INCLUDES) $(BOARDINCLUDE) $(PROJECTINCLUDE) $(CPUINCLUDE) -MM $*.c > $(BINDIR)$*.d
@printf "$(BINDIR)"|cat - $(BINDIR)$*.d > /tmp/riot_out && mv /tmp/riot_out $(BINDIR)$*.d

# remove compilation products
clean:
rm -f $(BINDIR)native_base.a $(OBJ) $(DEP)
-rmdir $(BINDIR)
-rmdir -p $(BINDIR)

2 changes: 1 addition & 1 deletion native/board_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* @author Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
* @}
*/

#include <stdio.h>
#include "board.h"

/**
Expand Down
2 changes: 0 additions & 2 deletions native/native-ltc4150.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ void ltc4150_sync_blocking(void)
*/
void ltc4150_arch_init(void)
{
struct sigevent sev;

ltc4150_disable_int();

puts("Native LTC4150 initialized.");
Expand Down

0 comments on commit d5676a1

Please sign in to comment.