Browse Source

upgraded to stm32flash to newest revision

set myself as Maintainer
dropped outdated patches
lilik-openwrt-22.03
Christian Pointner 11 years ago
parent
commit
55f4b33795
2 changed files with 6 additions and 35 deletions
  1. +6
    -5
      utils/stm32flash/Makefile
  2. +0
    -30
      utils/stm32flash/patches/001-cflags_override.patch

+ 6
- 5
utils/stm32flash/Makefile View File

@ -8,21 +8,22 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=stm32flash PKG_NAME:=stm32flash
PKG_REV:=61
PKG_VERSION:=r$(PKG_REV)
PKG_RELEASE:=2
PKG_REV:=4d7ce45
PKG_VERSION:=git~$(PKG_REV)
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://stm32flash.googlecode.com/svn/trunk
PKG_SOURCE_URL:=git://gitorious.org/stm32flash/stm32flash.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=$(PKG_REV) PKG_SOURCE_VERSION:=$(PKG_REV)
PKG_SOURCE_PROTO:=svn
PKG_SOURCE_PROTO:=git
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/stm32flash define Package/stm32flash
SECTION:=utils SECTION:=utils
CATEGORY:=Utilities CATEGORY:=Utilities
MAINTAINER:=Christian Pointner <equinox@spreadspace.org>
URL:=http://code.google.com/p/stm32flash/ URL:=http://code.google.com/p/stm32flash/
TITLE:=Firmware flash tool for STM32's serial bootloader TITLE:=Firmware flash tool for STM32's serial bootloader
endef endef


+ 0
- 30
utils/stm32flash/patches/001-cflags_override.patch View File

@ -1,30 +0,0 @@
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ export AR
all:
$(MAKE) -C parsers
- $(CC) -g -o stm32flash -I./ \
+ $(CC) $(LDFLAGS) -o stm32flash -I./ \
main.c \
utils.c \
stm32.c \
@@ -13,7 +13,7 @@ all:
serial_platform.c \
parsers/parsers.a \
stm32/stmreset_binary.c \
- -Wall
+ $(CFLAGS)
clean:
$(MAKE) -C parsers clean
--- a/parsers/Makefile
+++ b/parsers/Makefile
@@ -1,6 +1,6 @@
all:
- $(CC) -g -Wall -c -I../ binary.c hex.c
+ $(CC) $(CFLAGS) -Wall -c -I../ binary.c hex.c
$(AR) r parsers.a binary.o hex.o
clean:

Loading…
Cancel
Save