Skip to content

Commit

Permalink
fix compile error : mkpeephole related
Browse files Browse the repository at this point in the history
  • Loading branch information
Hirokazu MORIKAWA authored and nxhack committed Jun 21, 2017
1 parent 4f2388c commit 22a2cd6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion node/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ PKG_SOURCE_URL:=http://nodejs.org/dist/${PKG_VERSION}
PKG_MD5SUM:=f7e8924c13c74576f6c0688bcf1bbfde

HOST_BUILD_DEPENDS:=python/host
PKG_BUILD_DEPENDS:=python/host
PKG_BUILD_DEPENDS:=python/host +node/host
PKG_INSTALL:=1
PKG_USE_MIPS16:=0

Expand Down Expand Up @@ -99,6 +99,14 @@ HOST_CONFIGURE_ARGS:= \

HOST_CONFIGURE_CMD:=python ./configure

MKTOOL=$(HOST_BUILD_DIR)/out/Release/mkpeephole
FILE_V8_GYP:=$(PKG_BUILD_DIR)/deps/v8/src/v8.gyp

define Build/Prepare
$(Build/Prepare/Default)
$(SED) "s#<(mkpeephole_exec)#$(MKTOOL)#g" $(FILE_V8_GYP)
endef

define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
Expand Down

0 comments on commit 22a2cd6

Please sign in to comment.