Skip to content

Commit

Permalink
[net] js bindings are not mutually exclusive
Browse files Browse the repository at this point in the history
ENC28J60 and ESP8266 are not mutually exclusive, so should
be able to include bindings for both.
  • Loading branch information
ebirger committed May 2, 2016
1 parent 952da9a commit 840e36a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
ifneq ($(CONFIG_ENC28J60),)
MK_OBJS+=enc28j60.o $(if $(CONFIG_JS),js_enc28j60.o)
MK_JSAPIS=enc28j60.jsapi
MK_JSAPIS+=enc28j60.jsapi
endif

ifneq ($(CONFIG_NET_ESP8266),)
MK_OBJS+=esp8266.o $(if $(CONFIG_JS),js_esp8266.o)
MK_JSAPIS=esp8266.jsapi
MK_JSAPIS+=esp8266.jsapi
endif

0 comments on commit 840e36a

Please sign in to comment.