1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-05 04:50:18 +02:00

avrdude: apply qi_lb60-patches when build for nanonote

This commit is contained in:
Xiangfu Liu 2011-03-04 10:32:19 +08:00
parent 61c7a8e695
commit bd34549c23
5 changed files with 6 additions and 3 deletions

View File

@ -12,6 +12,11 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_RELEASE:=1
PKG_INSTALL:=1
ifeq ($(CONFIG_TARGET_xburst_qi_lb60),y)
#apply patches: qi_lb60-patches
PATCH_DIR:=./qi_lb60-patches
endif
include $(INCLUDE_DIR)/package.mk
define Package/avrdude
@ -35,9 +40,7 @@ CONFIGURE_ARGS+= \
--disable-static \
--disable-parport
ifdef CONFIG_TARGET_xburst_qi_lb60
#apply patches: qi_lb60-patches
ifeq ($(CONFIG_TARGET_xburst_qi_lb60),y)
#the qi_lb60-patches have some new .c file
define Build/Configure
(cd $(PKG_BUILD_DIR); aclocal; automake)