mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
pmtools: update to pmtools-20110323
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
46a1abc03c
commit
86724c9b87
@ -23,8 +23,15 @@
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD
|
||||
make PREFIX=/usr \
|
||||
CC="$TARGET_CC" \
|
||||
AR="$TARGET_AR" \
|
||||
make CC="$TARGET_CC" \
|
||||
CFLAGS="$TARGET_CFLAGS -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I../include" \
|
||||
CPPFLAGS="$TARGET_CPPFLAGS" \
|
||||
-C acpidump acpidump
|
||||
|
||||
make CC="$TARGET_CC" \
|
||||
CFLAGS="$TARGET_CFLAGS -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I../include" \
|
||||
-C acpixtract acpixtract
|
||||
|
||||
make CC="$TARGET_CC" \
|
||||
CFLAGS="$TARGET_CFLAGS -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I../include" \
|
||||
-C madt madt
|
||||
|
||||
|
@ -19,12 +19,12 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="pmtools"
|
||||
PKG_VERSION="20071116"
|
||||
PKG_VERSION="20110323"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="i386 x86_64"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://lesswatts.org/projects/acpi/utilities.php"
|
||||
PKG_URL="https://lesswatts.org/patches/linux_acpi/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_URL="http://mirror.linux.org.au/linux/kernel/people/lenb/acpi/utils/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
|
25
packages/debug/pmtools/patches/pmtools-madt.patch
Normal file
25
packages/debug/pmtools/patches/pmtools-madt.patch
Normal file
@ -0,0 +1,25 @@
|
||||
diff -Naur pmtools/madt/Makefile pmtools.patch/madt/Makefile
|
||||
--- pmtools/madt/Makefile 2005-11-11 18:07:04.000000000 +0100
|
||||
+++ pmtools.patch/madt/Makefile 2007-11-16 19:48:56.000000000 +0100
|
||||
@@ -1,6 +1,16 @@
|
||||
+PROG= madt
|
||||
+SRCS= madt.c
|
||||
+
|
||||
+all: madt
|
||||
+$(PROG) : $(SRCS)
|
||||
+ $(CC) $(CFLAGS) $(SRCS) -o $(PROG)
|
||||
+
|
||||
test: madt
|
||||
- ./madt < APIC
|
||||
-madt: madt.c acpi.h tables.c
|
||||
- cc -o madt madt.c
|
||||
-clean:
|
||||
- rm madt
|
||||
+ ./madt < example.APIC.dat
|
||||
+ ./madt < example.APIC.bad.dat
|
||||
+
|
||||
+CLEANFILES= $(PROG)
|
||||
+
|
||||
+clean :
|
||||
+ rm -f $(CLEANFILES) $(patsubst %.c,%.o, $(SRCS)) *~
|
||||
+
|
25
packages/debug/pmtools/unpack
Executable file
25
packages/debug/pmtools/unpack
Executable file
@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2013 Dag Wieers (dag@wieers.com)
|
||||
#
|
||||
# This Program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
mv $BUILD/$PKG_NAME $BUILD/$PKG_NAME-$PKG_VERSION
|
Loading…
x
Reference in New Issue
Block a user