You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
496 B

  1. export PLATFORM=posix
  2. SCONS_VARS = \
  3. CC="$(TARGET_CC_NOCACHE)" \
  4. CXX="$(TARGET_CXX_NOCACHE)" \
  5. CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
  6. CXXFLAGS="$(TARGET_CXXFLAGS) $(EXTRA_CXXFLAGS)" \
  7. CPPFLAGS="$(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \
  8. LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \
  9. DESTDIR="$(PKG_INSTALL_DIR)"
  10. define Build/Configure/Default
  11. (cd $(PKG_BUILD_DIR); \
  12. $(SCONS_VARS) \
  13. scons \
  14. prefix=/usr \
  15. $(SCONS_OPTIONS) \
  16. install \
  17. )
  18. endef
  19. define Build/Compile
  20. endef