Ignore:
Timestamp:
2011-06-19T19:09:32+02:00 (5 years ago)
Author:
swalker
Message:

[packages] flashrom: update source url, use PKG_INSTALL & MAKE_FLAGS, refresh patches

Location:
packages/utils/flashrom
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/flashrom/Makefile

    r26381 r27223  
    1 #  
     1# 
    22# Copyright (C) 2010-2011 OpenWrt.org 
    33# 
     
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    15 PKG_SOURCE_URL:=http://qa.coreboot.org/releases/ 
     15PKG_SOURCE_URL:=http://download.flashrom.org/releases 
    1616PKG_MD5SUM:=eccdec2764223f5d2839bf577380eaa9 
    1717 
     18PKG_INSTALL:=1 
     19 
    1820include $(INCLUDE_DIR)/package.mk 
    19  
    2021 
    2122define Package/flashrom 
     
    3132 flashrom is a utility for identifying, reading, writing, verifying 
    3233 and erasing flash chips. It's often used to flash BIOS/EFI/coreboot 
    33  /firmware images.  
     34 /firmware images. 
    3435endef 
     36 
     37MAKE_FLAGS += \ 
     38        PREFIX="/usr" 
    3539 
    3640define Package/flashrom/install 
    3741        $(INSTALL_DIR) $(1)/usr/sbin 
    38         $(INSTALL_BIN) $(PKG_BUILD_DIR)/flashrom $(1)/usr/sbin/ 
     42        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/flashrom $(1)/usr/sbin/ 
    3943endef 
    4044 
  • packages/utils/flashrom/patches/001-msr_dev_path.patch

    r26381 r27223  
    1 --- flashrom-0.9.3/physmap.c.orig       2010-10-05 20:56:44.000000000 -0600 
    2 +++ flashrom-0.9.3/physmap.c    2011-03-29 20:26:22.000000000 -0600 
     1--- a/physmap.c 
     2+++ b/physmap.c 
    33@@ -352,7 +352,7 @@ int setup_cpu_msr(int cpu) 
    44 { 
Note: See TracChangeset for help on using the changeset viewer.