forked from dragino/linino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mimmo
committed
Apr 16, 2013
1 parent
4048ed2
commit 9850397
Showing
7 changed files
with
420 additions
and
293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# | ||
# Copyright (C) 2008 OpenWrt.org | ||
# | ||
# This is free software, licensed under the GNU General Public License v2. | ||
# See /LICENSE for more information. | ||
# | ||
|
||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=avrdude | ||
PKG_VERSION:=5.8 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/avrdude | ||
PKG_MD5SUM:=d459dcf47fa7fc2a29a70d68ebff4886 | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
|
||
define Package/avrdude | ||
SECTION:=utils | ||
CATEGORY:=Utilities | ||
TITLE:=AVR Downloader/UploaDEr | ||
URL:=http://www.bsdhome.com/avrdude/ | ||
DEPENDS:=+libncurses +libreadline +libusb-compat | ||
endef | ||
|
||
define Package/avrdude/description | ||
AVRDUDE is a full featured program for programming Atmel's AVR CPU's. | ||
endef | ||
|
||
define Build/Prepare | ||
$(call Build/Prepare/Default) | ||
chmod -R u+w $(PKG_BUILD_DIR) | ||
endef | ||
|
||
CONFIGURE_ARGS+= \ | ||
--enable-shared \ | ||
--disable-static \ | ||
--disable-parport \ | ||
|
||
define Build/Compile | ||
$(MAKE) -C $(PKG_BUILD_DIR) \ | ||
DESTDIR="$(PKG_INSTALL_DIR)" \ | ||
install-exec | ||
endef | ||
|
||
define Package/avrdude/conffiles | ||
/etc/avrdude.conf | ||
endef | ||
|
||
define Package/avrdude/install | ||
$(INSTALL_DIR) $(1)/etc | ||
$(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/avrdude.conf $(1)/etc/ | ||
$(INSTALL_DIR) $(1)/usr/bin | ||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/avrdude $(1)/usr/bin/ | ||
endef | ||
|
||
$(eval $(call BuildPackage,avrdude)) |
Oops, something went wrong.