[packages] avrusbboot libc++ fix
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32977 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
18d7ffe29a
commit
14f1269e18
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=avrusbboot
|
PKG_NAME:=avrusbboot
|
||||||
PKG_VERSION:=2006-06-25
|
PKG_VERSION:=2006-06-25
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://www.fischl.de/avrusbboot/
|
PKG_SOURCE_URL:=http://www.fischl.de/avrusbboot/
|
||||||
@ -17,12 +17,13 @@ PKG_MD5SUM:=3e2f5e2c257918410a66c3463f583fdf
|
|||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME).$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME).$(PKG_VERSION)
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/uclibc++.mk
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/avrusbboot
|
define Package/avrusbboot
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
DEPENDS:=+libusb +uclibcxx
|
DEPENDS:=+libusb $(CXX_DEPENDS)
|
||||||
TITLE:=USB bootloader for Atmel AVR controllers
|
TITLE:=USB bootloader for Atmel AVR controllers
|
||||||
URL:=http://www.fischl.de/avrusbboot/
|
URL:=http://www.fischl.de/avrusbboot/
|
||||||
endef
|
endef
|
||||||
@ -40,8 +41,9 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/software \
|
$(MAKE) -C $(PKG_BUILD_DIR)/software \
|
||||||
CXX="$(TARGET_CROSS)g++ $(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++ $(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/uClibc++" \
|
CXX="$(TARGET_CXX)" \
|
||||||
LFLAGS="$(TARGET_LDFLAGS) -nodefaultlibs -lc -luClibc++ -lc -lusb $(LIBGCC_S)" \
|
CPPFLAGS="$(TARGET_CPPFLAGS) -fno-rtti" \
|
||||||
|
LFLAGS="$(TARGET_LDFLAGS) -lusb" \
|
||||||
all
|
all
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user