1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #6 from mehlis/master

minor fixes
This commit is contained in:
LudwigOrtmann 2013-06-03 00:03:55 -07:00
commit d5676a113b
3 changed files with 3 additions and 5 deletions

View File

@ -16,7 +16,7 @@ $(BINDIR)native_base.a: $(OBJ)
# compile and generate dependency info # compile and generate dependency info
$(BINDIR)%.o: %.c $(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) -c $*.c -o $(BINDIR)$*.o
$(CC) $(CFLAGS) $(INCLUDES) $(BOARDINCLUDE) $(PROJECTINCLUDE) $(CPUINCLUDE) -MM $*.c > $(BINDIR)$*.d $(CC) $(CFLAGS) $(INCLUDES) $(BOARDINCLUDE) $(PROJECTINCLUDE) $(CPUINCLUDE) -MM $*.c > $(BINDIR)$*.d
@printf "$(BINDIR)"|cat - $(BINDIR)$*.d > /tmp/riot_out && mv /tmp/riot_out $(BINDIR)$*.d @printf "$(BINDIR)"|cat - $(BINDIR)$*.d > /tmp/riot_out && mv /tmp/riot_out $(BINDIR)$*.d
@ -24,5 +24,5 @@ $(BINDIR)%.o: %.c
# remove compilation products # remove compilation products
clean: clean:
rm -f $(BINDIR)native_base.a $(OBJ) $(DEP) rm -f $(BINDIR)native_base.a $(OBJ) $(DEP)
-rmdir $(BINDIR) -rmdir -p $(BINDIR)

View File

@ -12,7 +12,7 @@
* @author Ludwig Ortmann <ludwig.ortmann@fu-berlin.de> * @author Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
* @} * @}
*/ */
#include <stdio.h>
#include "board.h" #include "board.h"
/** /**

View File

@ -81,8 +81,6 @@ void ltc4150_sync_blocking(void)
*/ */
void ltc4150_arch_init(void) void ltc4150_arch_init(void)
{ {
struct sigevent sev;
ltc4150_disable_int(); ltc4150_disable_int();
puts("Native LTC4150 initialized."); puts("Native LTC4150 initialized.");