kernel: bump 4.14 to 4.14.89
[openwrt/staging/chunkeey.git] / include / scons.mk
1 export PLATFORM=posix
2
3 SCONS_VARS = \
4 CC="$(TARGET_CC_NOCACHE)" \
5 CXX="$(TARGET_CXX_NOCACHE)" \
6 CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
7 CXXFLAGS="$(TARGET_CXXFLAGS) $(EXTRA_CXXFLAGS)" \
8 CPPFLAGS="$(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \
9 LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \
10 DESTDIR="$(PKG_INSTALL_DIR)"
11
12 define Build/Configure/Default
13 (cd $(PKG_BUILD_DIR); \
14 $(SCONS_VARS) \
15 scons \
16 prefix=/usr \
17 $(SCONS_OPTIONS) \
18 install \
19 )
20 endef
21
22 define Build/Compile
23 endef