Makefile 678 B

12345678910111213141516171819202122232425262728293031
  1. #
  2. # Copyright (C) 2006-2016 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=findutils
  9. PKG_CPE_ID:=cpe:/a:gnu:findutils
  10. PKG_VERSION:=4.8.0
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  12. PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
  13. PKG_HASH:=57127b7e97d91282c6ace556378d5455a9509898297e46e10443016ea1387164
  14. HOST_BUILD_PARALLEL:=1
  15. include $(INCLUDE_DIR)/host-build.mk
  16. ifeq ($(HOST_OS),Darwin)
  17. HOST_CFLAGS +=-D__nonnull\\(params\\)=
  18. endif
  19. HOST_CONFIGURE_ARGS += \
  20. --enable-threads=pth \
  21. --disable-rpath \
  22. --disable-nls \
  23. --without-selinux
  24. $(eval $(call HostBuild))