Changeset 32977


Ignore:
Timestamp:
2012-08-04T19:02:03+02:00 (6 years ago)
Author:
blogic
Message:

[packages] avrusbboot libc++ fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/avrusbboot/Makefile

    r30530 r32977  
    1010PKG_NAME:=avrusbboot 
    1111PKG_VERSION:=2006-06-25 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tar.gz 
     
    1818PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME).$(PKG_VERSION) 
    1919 
     20include $(INCLUDE_DIR)/uclibc++.mk 
    2021include $(INCLUDE_DIR)/package.mk 
    2122 
     
    2324  SECTION:=utils 
    2425  CATEGORY:=Utilities 
    25   DEPENDS:=+libusb +uclibcxx 
     26  DEPENDS:=+libusb $(CXX_DEPENDS) 
    2627  TITLE:=USB bootloader for Atmel AVR controllers 
    2728  URL:=http://www.fischl.de/avrusbboot/ 
     
    4142define Build/Compile 
    4243        $(MAKE) -C $(PKG_BUILD_DIR)/software \ 
    43                 CXX="$(TARGET_CROSS)g++ $(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++ $(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/uClibc++" \ 
    44                 LFLAGS="$(TARGET_LDFLAGS) -nodefaultlibs -lc -luClibc++ -lc -lusb $(LIBGCC_S)" \ 
     44                CXX="$(TARGET_CXX)" \ 
     45                CPPFLAGS="$(TARGET_CPPFLAGS) -fno-rtti" \ 
     46                LFLAGS="$(TARGET_LDFLAGS) -lusb" \ 
    4547                all 
    4648endef 
Note: See TracChangeset for help on using the changeset viewer.