mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
apmd: sync with OE (removal of /usr/src/linux include dirs)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2958 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
|||||||
|
--- apmd-3.2.2.orig/Makefile
|
||||||
|
+++ apmd-3.2.2/Makefile
|
||||||
|
@@ -43,8 +43,7 @@
|
||||||
|
|
||||||
|
CC=gcc
|
||||||
|
CFLAGS=-O -g
|
||||||
|
-XTRACFLAGS=-Wall -pipe -I. -I/usr/src/linux/include \
|
||||||
|
- -I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include \
|
||||||
|
+XTRACFLAGS=-Wall -pipe -I. \
|
||||||
|
-DVERSION=\"$(VERSION)\" \
|
||||||
|
-DDEFAULT_PROXY_NAME=\"$(PROXY_DIR)/apmd_proxy\"
|
||||||
|
LDFLAGS=
|
||||||
@@ -3,12 +3,13 @@ SECTION = "base"
|
|||||||
PRIORITY = "required"
|
PRIORITY = "required"
|
||||||
DEPENDS = "libtool-cross"
|
DEPENDS = "libtool-cross"
|
||||||
LICENSE = "GPL"
|
LICENSE = "GPL"
|
||||||
PR = "r7"
|
PR = "r8"
|
||||||
|
|
||||||
SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.orig.tar.gz; \
|
SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.orig.tar.gz; \
|
||||||
file://debian.patch;patch=1 \
|
file://debian.patch;patch=1 \
|
||||||
file://workaround.patch;patch=1 \
|
file://workaround.patch;patch=1 \
|
||||||
file://zaurus24.patch;patch=1 \
|
file://zaurus24.patch;patch=1 \
|
||||||
|
file://unlinux.patch;patch=1 \
|
||||||
file://init \
|
file://init \
|
||||||
file://default \
|
file://default \
|
||||||
file://apmd_proxy \
|
file://apmd_proxy \
|
||||||
@@ -44,6 +45,7 @@ do_install() {
|
|||||||
install -d ${D}${bindir}
|
install -d ${D}${bindir}
|
||||||
install -d ${D}${libdir}
|
install -d ${D}${libdir}
|
||||||
install -d ${D}${datadir}/apmd
|
install -d ${D}${datadir}/apmd
|
||||||
|
install -d ${D}${includedir}
|
||||||
|
|
||||||
install -m 4755 ${S}/.libs/apm ${D}${bindir}/apm
|
install -m 4755 ${S}/.libs/apm ${D}${bindir}/apm
|
||||||
install -m 0755 ${S}/.libs/apmd ${D}${sbindir}/apmd
|
install -m 0755 ${S}/.libs/apmd ${D}${sbindir}/apmd
|
||||||
|
|||||||
Reference in New Issue
Block a user