12345678910111213141516171819202122 |
- include $(TOPDIR)/rules.mk
- PKG_NAME := flock
- include $(INCLUDE_DIR)/host-build.mk
- define Host/Compile
- mkdir -p $(HOST_BUILD_DIR)
- $(HOSTCC) $(HOST_CFLAGS) -o $(HOST_BUILD_DIR)/flock src/flock.c
- endef
- define Host/Install
- $(INSTALL_BIN) $(HOST_BUILD_DIR)/flock $(STAGING_DIR_HOST)/bin/
- endef
- $(eval $(call HostBuild))
|