Makefile 748 B

1234567891011121314151617181920212223242526272829303132333435
  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.9.0
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  12. PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
  13. PKG_HASH:=a2bfb8c09d436770edc59f50fa483e785b161a3b7b9d547573cb08065fd462fe
  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. define Host/Uninstall
  25. -$(call Host/Compile/Default,uninstall)
  26. endef
  27. $(eval $(call HostBuild))