1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-11-27 18:59:43 +02:00

swuart/: merge library part into libubb

This commit is contained in:
Werner Almesberger 2012-12-17 22:16:32 -03:00
parent 2e749f901c
commit 1c51cc6757
5 changed files with 5 additions and 7 deletions

View File

@ -17,8 +17,8 @@ CC = $(TARGET)gcc
CFLAGS = -g -Wall -Iinclude CFLAGS = -g -Wall -Iinclude
LIB = libubb.a LIB = libubb.a
OBJS = ubb.o OBJS = ubb.o swuart.o
HDRS = ubb/ubb.h ubb/regbase.h ubb/regs4740.h HDRS = ubb/ubb.h ubb/regbase.h ubb/regs4740.h ubb/swuart.h
.PHONY: all clean spotless .PHONY: all clean spotless

View File

@ -16,8 +16,7 @@
#include <ubb/ubb.h> #include <ubb/ubb.h>
#include <ubb/regs4740.h> #include <ubb/regs4740.h>
#include <ubb/swuart.h>
#include "swuart.h"
#define TIMER 7 #define TIMER 7

View File

@ -4,7 +4,7 @@ LDFLAGS = -static
LDLIBS = -L../libubb -lubb LDLIBS = -L../libubb -lubb
MAIN = swuart MAIN = swuart
OBJS = test.o swuart.o OBJS = test.o
.PHONY: all clean spotless .PHONY: all clean spotless

View File

@ -18,8 +18,7 @@
#include <string.h> #include <string.h>
#include <ubb/ubb.h> #include <ubb/ubb.h>
#include <ubb/swuart.h>
#include "swuart.h"
#define RX UBB_DAT0 #define RX UBB_DAT0