Skip to content

[esp8266] build failure #1264

@seanshpark

Description

@seanshpark

While applying new build system, I get this error when compiling esp8266/user folder.

make[1]: Entering directory '/home/maxwell/usbdisk/x86/harmony/jerryscript/targets/esp8266/user'
Makefile:42: *** Too many open files.  Stop.
make[1]: Leaving directory '/home/maxwell/usbdisk/x86/harmony/jerryscript/targets/esp8266/user'
/opt/Espressif/ESP8266_SDK/Makefile:317: recipe for target '.subdirs' failed
make: *** [.subdirs] Error 2

commit 23db8b5#diff-93f1dba5fbae34b11a322c6bd3269549
seems the reason.

 INCLUDES := $(INCLUDES) -I $(PDIR)include
 -INCLUDES += -I ./ -I ../include
 -PDIR := ../$(PDIR)
 +INCLUDES += -I ./ -I ../include -I../../../
  sinclude $(PDIR)Makefile

PDIR := ../$(PDIR) line should not be removed.

I'll make a PR fixing this error and for the new build system.

Metadata

Metadata

Assignees

Labels

bugUndesired behaviour

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions