|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk |
|
|
PKG_NPM_NAME:=mozilla-iot-gateway |
|
|
PKG_NPM_NAME:=mozilla-iot-gateway |
|
|
PKG_NAME:=node-$(PKG_NPM_NAME) |
|
|
PKG_NAME:=node-$(PKG_NPM_NAME) |
|
|
PKG_VERSION:=0.7.0 |
|
|
PKG_VERSION:=0.7.0 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE_URL:=https://codeload.github.com/mozilla-iot/gateway/tar.gz/v$(PKG_VERSION)? |
|
|
PKG_SOURCE_URL:=https://codeload.github.com/mozilla-iot/gateway/tar.gz/v$(PKG_VERSION)? |
|
@ -49,6 +49,8 @@ endef |
|
|
|
|
|
|
|
|
CPU:=$(subst powerpc,ppc,$(subst aarch64,arm64,$(subst x86_64,x64,$(subst i386,ia32,$(ARCH))))) |
|
|
CPU:=$(subst powerpc,ppc,$(subst aarch64,arm64,$(subst x86_64,x64,$(subst i386,ia32,$(ARCH))))) |
|
|
|
|
|
|
|
|
|
|
|
TARGET_CFLAGS+=$(FPIC) |
|
|
|
|
|
|
|
|
define Build/Compile |
|
|
define Build/Compile |
|
|
$(MAKE_VARS) \
|
|
|
$(MAKE_VARS) \
|
|
|
$(MAKE_FLAGS) \
|
|
|
$(MAKE_FLAGS) \
|
|
|