makefile hints
This commit is contained in:
parent
0c4f5c61ef
commit
bfe8814c90
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- makefile -*-
|
||||||
LINKERSCRIPT := $(MC1322X)/mc1322x.lds
|
LINKERSCRIPT := $(MC1322X)/mc1322x.lds
|
||||||
LIBMC1322X := $(MC1322X)/libmc1322x
|
LIBMC1322X := $(MC1322X)/libmc1322x
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# -*- makefile -*-
|
||||||
|
|
||||||
#BOARDS := redbee-dev redbee-module redbee-r1 redbee-usb redbee-econotag
|
#BOARDS := redbee-dev redbee-module redbee-r1 redbee-usb redbee-econotag
|
||||||
BOARDS := redbee-dev redbee-r1
|
BOARDS := redbee-dev redbee-r1
|
||||||
|
|
||||||
|
@ -16,4 +18,4 @@ endif
|
||||||
|
|
||||||
$(OBJDIR)/board.h: $(OBJDIR)
|
$(OBJDIR)/board.h: $(OBJDIR)
|
||||||
ln -sf ../$(MC1322X)/board/$(BOARD).h $(OBJDIR)/board.h
|
ln -sf ../$(MC1322X)/board/$(BOARD).h $(OBJDIR)/board.h
|
||||||
touch $(OBJDIR)/board.h
|
touch $(OBJDIR)/board.h
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# -*- makefile -*-
|
||||||
|
|
||||||
CFLAGS += -I$(LIBMC1322X)/include
|
CFLAGS += -I$(LIBMC1322X)/include
|
||||||
|
|
||||||
LIBOBJS = $(patsubst %.c,%.o,$(wildcard $(LIBMC1322X)/*.c))
|
LIBOBJS = $(patsubst %.c,%.o,$(wildcard $(LIBMC1322X)/*.c))
|
||||||
|
|
Loading…
Reference in New Issue