1# 2# Copyright (C) 2006 OpenWrt.org 3# 4# This is free software, licensed under the GNU General Public License v2. 5# See /LICENSE for more information. 6# 7# $Id: Makefile 6501 2007-03-04 04:41:46Z pavlov $ 8 9include $(TOPDIR)/rules.mk 10 11PKG_NAME:=artmtd 12PKG_RELEASE:=1 13 14PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) 15 16include $(INCLUDE_DIR)/package.mk 17 18define Package/artmtd 19 SECTION:=utils 20 CATEGORY:=Base system 21 TITLE:=Read mac , wpspin, serialnumber and etc from art data 22endef 23 24define Build/Prepare 25 mkdir -p $(PKG_BUILD_DIR) 26 $(CP) ./src/* $(PKG_BUILD_DIR)/ 27endef 28 29define Build/Compile 30endef 31 32define Package/artmtd/install 33 $(INSTALL_DIR) $(1)/sbin 34 $(INSTALL_BIN) $(PKG_BUILD_DIR)/artmtd $(1)/sbin/ 35endef 36 37$(eval $(call BuildPackage,artmtd)) 38