1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-22 17:52:27 +02:00

avrdue: compile fine now

This commit is contained in:
Xiangfu Liu 2011-03-04 10:14:33 +08:00
parent c5dd13f878
commit 61c7a8e695

View File

@ -30,15 +30,29 @@ define Package/avrdude/conffiles
/etc/avrdude.conf /etc/avrdude.conf
endef endef
CONFIGURE_ARGS+= \
--enable-shared \
--disable-static \
--disable-parport
ifdef CONFIG_TARGET_xburst_qi_lb60
#apply patches: qi_lb60-patches
#the qi_lb60-patches have some new .c file
define Build/Configure define Build/Configure
(cd $(PKG_BUILD_DIR); aclocal; automake) (cd $(PKG_BUILD_DIR); aclocal; automake)
$(call Build/Configure/Default) $(call Build/Configure/Default)
endef endef
CONFIGURE_ARGS+= \ #with out </dev/null. make stop at "config.status: creating avrdude.conf.tmp"
--enable-shared \ MAKE_FLAGS+=</dev/null
--disable-static \
--disable-parport define Build/Compile
$(call Build/Compile/Default)
# the joy of autocrap (we need this to generate avrdude.conf)
$(call Build/Configure/Default)
endef
endif
define Package/avrdude/install define Package/avrdude/install
$(INSTALL_DIR) $(1)/etc $(INSTALL_DIR) $(1)/etc