File: kernel/device-list/Makefile
base-0 patch-1
Line 1Line 1
GARNAME = devices.txt
GARVERSION = none
GARNAME = device-list
GARVERSION = $(KERNEL_VERSION)
CATEGORIES = kernel
CATEGORIES = kernel
MASTER_SITES = http://www.lanana.org/docs/device-list/
DISTFILES = $(GARNAME) license
MAINTAINER = Seth Schoen <schoen@loyalty.org>
MAINTAINER = Nate Riffe <inkblot@movealong.org>
DISTFILES = license
SOURCEPKG = kernel/linux
LICENSE = none
none_LICENSE_TEXT = $(WORKDIR)/license

LICENSE = none
none_LICENSE_TEXT = $(WORKDIR)/license

Line 14Line 14
You can use multiple lines if you want.
endef

You can use multiple lines if you want.
endef


# This package sources kernel/linux, so it needs to have these set the same
# way. Differentiate kernel builds by GARCH, rather than DESTIMG
WORKDIR = $(WORKROOTDIR)/$(GARCH)
COOKIEDIR = $(COOKIEROOTDIR)/$(GARCH)

WORKSRC = $(WORKDIR)/linux-$(GARVERSION)

INSTALL_SCRIPTS = custom

INSTALL_SCRIPTS = custom

# This should go before any hand-made rules.
GAR_EXTRA_CONF += kernel/linux/package-api.mk
include ../../gar.mk

install-custom:
include ../../gar.mk

install-custom:
        install -D $(WORKDIR)/$(GARNAME) $(DESTDIR)/$(sharedstatedir)/$(GARNAME)
        install -D $(WORKSRC)/Documentation/devices.txt $(DESTDIR)/$(sharedstatedir)/devices.txt
        $(MAKECOOKIE)
        $(MAKECOOKIE)