diff --git a/ated/Makefile b/ated/Makefile new file mode 100644 index 000000000..b6f50ee82 --- /dev/null +++ b/ated/Makefile @@ -0,0 +1,61 @@ +# +# Copyright (C) 2016 inteno +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/kernel.mk + +PKG_NAME:=ated +PKG_VERSION:=1.2.2 +PKG_RELEASE:=1 + +PKG_SOURCE_VERSION:=940e3eccdd7aa6fa09e64d3d061c3570e3351cb6 +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL:=http://private.inteno.se/ated + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +# support parallel build +#PKG_BUILD_PARALLEL:=1 + +#re create configure scripts if not present. +#PKG_FIXUP:=autoreconf + +# run install target when cross compiling. basically, make install DESTDIR=$(PKG_INSTALL_DIR) +# this way we don't need to pick out the resulting files from the build dir. +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/ated + CATEGORY:=Utilities + TITLE:=Daemon for handling wifi calibration + URL:= + DEPENDS:= libc +endef + +define Package/ated/description + Daemon for handling wifi calibration +endef + +#TARGET_CPPFLAGS := \ +# -I$(STAGING_DIR)/usr/include/bcm963xx/shared/opensource/include/bcm963xx \ +# -I$(STAGING_DIR)/usr/include/bcm963xx/bcmdrivers/opensource/include/bcm963xx \ +# $(TARGET_CPPFLAGS) + +define Package/ated/install + echo "KEN: was here" + # $(CP) ./files/* $(1)/ + # $(INSTALL_DIR) $(1)/etc/ + # $(INSTALL_DIR) $(1)/etc/init.d/ + # $(INSTALL_DIR) $(1)/sbin + # $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/peripheral_manager $(1)/sbin/ +# $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gpio_test $(1)/sbin/ +endef + +$(eval $(call BuildPackage,ated))