Put main dir on include path
Now the user can supply their own foo.h that obj_foo/board.h will include
This commit is contained in:
parent
ebac883e25
commit
b00708cf78
|
@ -3,7 +3,7 @@
|
||||||
ALL_BOARDS = redbee-dev redbee-r1 redbee-usb redbee-econotag quahogcon freescale-ncb
|
ALL_BOARDS = redbee-dev redbee-r1 redbee-usb redbee-econotag quahogcon freescale-ncb
|
||||||
|
|
||||||
OBJDIR = obj_$(BOARD)
|
OBJDIR = obj_$(BOARD)
|
||||||
CFLAGS += -I$(OBJDIR) -I$(MC1322X)/board -DBOARD=$(BOARD)
|
CFLAGS += -I. -I$(OBJDIR) -I$(MC1322X)/board -DBOARD=$(BOARD)
|
||||||
|
|
||||||
# Create directory and board.h include
|
# Create directory and board.h include
|
||||||
$(OBJDIR)/board.h:
|
$(OBJDIR)/board.h:
|
||||||
|
|
Loading…
Reference in a new issue