Revert "km: build: remove dependency on user-mode builds"

Reverted commit was an upstream change provided by Imagination to decouple UM
and KM builds.

KM change is breaking parallel builds in Yocto. Intention of decoupling UM
builds is achieved with UM change alone.

Revert this change to get all build scripts back in works.

This reverts commit 31951fce7ef538a1f009d8cfd22dcdf459d04a09.
parent 29115f91
......@@ -415,7 +415,6 @@ include ../kernel_version.mk
PVRSRV_MODULE_BASEDIR ?= /lib/modules/$(KERNEL_ID)/extra/
$(eval $(call KernelConfigMake,KERNELDIR,$(KERNELDIR)))
# Needed only by install script
$(eval $(call KernelConfigMake,KERNEL_ID,$(KERNEL_ID)))
$(eval $(call KernelConfigMake,KERNEL_COMPONENTS,$(KERNEL_COMPONENTS)))
$(eval $(call TunableKernelConfigMake,EXTRA_PVRSRVKM_COMPONENTS,))
$(eval $(call TunableKernelConfigMake,EXTRA_KBUILD_SOURCE,))
......@@ -489,7 +488,6 @@ $(eval $(call BothConfigC,LINUX,))
$(eval $(call BothConfigC,PVR_BUILD_DIR,"\"$(PVR_BUILD_DIR)\""))
$(eval $(call BothConfigC,PVR_BUILD_TYPE,"\"$(BUILD)\""))
$(eval $(call BothConfigC,PVRSRV_MODNAME,"\"$(PVRSRV_MODNAME)\""))
$(eval $(call KernelConfigMake,PVRSRV_MODNAME,$(PVRSRV_MODNAME)))
$(eval $(call TunableBothConfigC,SGXCORE,))
$(eval $(call BothConfigC,SGX$(SGXCORE),))
......@@ -512,7 +510,6 @@ endif
ifneq ($(DISPLAY_CONTROLLER),)
$(eval $(call BothConfigC,DISPLAY_CONTROLLER,$(DISPLAY_CONTROLLER)))
$(eval $(call KernelConfigMake,DISPLAY_CONTROLLER,$(DISPLAY_CONTROLLER)))
endif
ifneq ($(strip $(KERNELDIR)),)
......
......@@ -77,8 +77,6 @@ kbuild_clean: $(TARGET_OUT)/kbuild/Makefile
V=$(V) W=$(W) \
TOP=$(TOP) clean
ifneq ($(wildcard $(PVR_BUILD_DIR)/install.sh.m4),)
# Old style install script.
kbuild_install: $(TARGET_OUT)/kbuild/Makefile
@: $(if $(strip $(DISCIMAGE)),,$(error $$(DISCIMAGE) was empty or unset while trying to use it to set INSTALL_MOD_PATH for modules_install))
@$(MAKE) -Rr --no-print-directory -C $(KERNELDIR) M=$(abspath $(TARGET_OUT)/kbuild) \
......@@ -91,8 +89,3 @@ kbuild_install: $(TARGET_OUT)/kbuild/Makefile
INSTALL_MOD_PATH="$(DISCIMAGE)" \
V=$(V) W=$(W) \
TOP=$(TOP) modules_install
else
# New style install script: We just have to generate the install script and run it as normal.
kbuild_install: install
kbuild: install_script_km
endif
\ No newline at end of file
########################################################################### ###
#@Title Root makefile for OMAP4430 Linux. Builds everything else.
#@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
#@License Strictly Confidential.
#@License Dual MIT/GPLv2
#
# The contents of this file are subject to the MIT license as set out below.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# Alternatively, the contents of this file may be used under the terms of
# the GNU General Public License Version 2 ("GPL") in which case the provisions
# of GPL are applicable instead of those above.
#
# If you wish to allow use of your version of this file only under the terms of
# GPL, and not to allow others to use your version of this file under the terms
# of the MIT license, indicate your decision by deleting the provisions above
# and replace them with the notice and other provisions required by GPL as set
# out in the file called "GPL-COPYING" included in this distribution. If you do
# not delete the provisions above, a recipient may use your version of this file
# under the terms of either the MIT license or GPL.
#
# This License is also included in this distribution in the file called
# "MIT-COPYING".
#
# EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS
# PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
# BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
# PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
### ###########################################################################
# If a product wasn't specified, we're a J6 EVM.
......@@ -79,6 +114,8 @@ KERNEL_COMPONENTS := srvkm bufferclass_example
SUPPORT_OLD_ION_API := 1
include ../kernel_version.mk
# Only enable active power management if passive power management is
# enabled, as indicated by LDM_PLATFORM being set to 1. On OMAP,
# the system can suspend in the case where active power management is
......@@ -137,11 +174,6 @@ else
OPK_DEFAULT := libpvrPVR2D_FLIPWSEGL.so
endif
include ../common/xorg_test.mk
ifneq ($(strip $(KERNELDIR)),)
include ../kernel_version.mk
ifeq ($(SYS_OMAP5_UEVM),1)
XORG_EXPLICIT_PVR_SERVICES_LOAD := 1
ifeq ($(call kernel-version-at-least,3,8,13),true)
......@@ -195,6 +227,7 @@ endif
endif
endif
include ../common/xorg_test.mk
ifeq ($(SUPPORT_BUILD_XORG),1)
SUPPORT_DRI_DRM := 1
endif
......@@ -265,7 +298,6 @@ OPK_FALLBACK := libpvrPVR2D_DRIWSEGL.so
XORG_PVR_VIDEO ?= generic_drm
endif
endif
endif # KERNELDIR
include ../config/core.mk
include ../common/xorg.mk
......
########################################################################### ###
##@Title Target install script
##@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
##@License Strictly Confidential.
### ###########################################################################
STANDARD_HEADER
INTERPRETER
## Set up variables.
##
ifelse(SUPPORT_DRI_DRM,1,,[[
DISPLAY_CONTROLLER(DISPLAY_KERNEL_MODULE)
]])
BUFFER_CLASS_DEVICE(bc_example)
## Configure how to create install_km.sh
##
STANDARD_KERNEL_MODULES
########################################################################### ###
#@Title Extract info from pvrversion.h
#@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
#@License Strictly Confidential.
### ###########################################################################
# Version information
PVRVERSION_H := $(TOP)/include4/pvrversion.h
# scripts.mk uses these to set the install script's version suffix
PVRVERSION_MAJ := $(shell perl -ne '/\sPVRVERSION_MAJ\s+(\w+)/ and print $$1' $(PVRVERSION_H))
PVRVERSION_MIN := $(shell perl -ne '/\sPVRVERSION_MIN\s+(\w+)/ and print $$1' $(PVRVERSION_H))
PVRVERSION_FAMILY := $(shell perl -ne '/\sPVRVERSION_FAMILY\s+"(\S+)"/ and print $$1' $(PVRVERSION_H))
PVRVERSION_BRANCHNAME := $(shell perl -ne '/\sPVRVERSION_BRANCHNAME\s+"(\S+)"/ and print $$1' $(PVRVERSION_H))
PVRVERSION_BUILD := $(shell perl -ne '/\sPVRVERSION_BUILD\s+(\w+)/ and print $$1' $(PVRVERSION_H))
PVRVERSION := "${PVRVERSION_FAMILY}_${PVRVERSION_BRANCHNAME}\@${PVRVERSION_BUILD}"
########################################################################### ###
#@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
#@License Strictly Confidential.
### ###########################################################################
define if-component
ifneq ($$(filter $(1),$$(COMPONENTS)),)
M4DEFS += $(2)
endif
endef
# common.m4 lives here
#
M4FLAGS := -I$(MAKE_TOP)/scripts
# The driver version is required to rename libraries
#
include $(MAKE_TOP)/pvrversion.mk
# These defs are either obsolete features, or not derived from
# user variables
#
M4DEFS := \
-DKM_SUFFIX=ko \
-DLIB_SUFFIX=so \
-DSUPPORT_SRVINIT=1 \
-DKERNEL_ID=$(KERNEL_ID) \
-DPVRVERSION="$(PVRVERSION)" \
-DSOLIB_VERSION=$(PVRVERSION_MAJ).$(PVRVERSION_MIN).$(PVRVERSION_BUILD) \
-DSHLIB_DESTDIR=$(SHLIB_DESTDIR) \
-DDEMO_DESTDIR=$(DEMO_DESTDIR) \
-DHEADER_DESTDIR=$(HEADER_DESTDIR) \
-DEGL_DESTDIR=$(EGL_DESTDIR) \
-DSUPPORT_UNITTESTS=1
# Map COMPONENTS on to SUPPORT_ defs
#
$(eval $(call if-component,opengles1,\
-DSUPPORT_OPENGLES1=1 -DOGLES1_MODULE=$(opengles1_target) \
-DSUPPORT_OPENGLES1_V1_ONLY=0))
$(eval $(call if-component,opengles2,\
-DSUPPORT_OPENGLES2=1 -DOGLES2_MODULE=$(opengles2_target)))
$(eval $(call if-component,egl,\
-DSUPPORT_LIBEGL=1 -DEGL_MODULE=$(egl_target)))
$(eval $(call if-component,pvr2d,\
-DSUPPORT_LIBPVR2D=1))
$(eval $(call if-component,glslcompiler,\
-DSUPPORT_SOURCE_SHADER=1))
$(eval $(call if-component,opencl,\
-DSUPPORT_OPENCL=1))
$(eval $(call if-component,rscompute,\
-DSUPPORT_RSCOMPUTE=1))
$(eval $(call if-component,opengl_mesa,\
-DSUPPORT_OPENGL=1))
$(eval $(call if-component,opengl,\
-DSUPPORT_OPENGL_NULLWS=1))
$(eval $(call if-component,null_pvr2d_flip,\
-DSUPPORT_NULL_PVR2D_FLIP=1))
$(eval $(call if-component,null_pvr2d_blit,\
-DSUPPORT_NULL_PVR2D_BLIT=1))
$(eval $(call if-component,null_pvr2d_front,\
-DSUPPORT_NULL_PVR2D_FRONT=1))
$(eval $(call if-component,null_pvr2d_remote,\
-DSUPPORT_NULL_PVR2D_REMOTE=1))
$(eval $(call if-component,null_pvr2d_linuxfb,\
-DSUPPORT_NULL_PVR2D_LINUXFB=1))
$(eval $(call if-component,null_drm_ws,\
-DSUPPORT_NULL_DRM_WS=1))
$(eval $(call if-component,ews_ws,\
-DSUPPORT_EWS=1))
$(eval $(call if-component,ews_ws_remote,\
-DSUPPORT_EWS_REMOTE=1))
$(eval $(call if-component,pdump,\
-DPDUMP=1))
$(eval $(call if-component,imgtcl,\
-DSUPPORT_IMGTCL=1))
$(eval $(call if-component,ews_wm,\
-DSUPPORT_LUA=1))
$(eval $(call if-component,xmultiegltest,\
-DSUPPORT_XUNITTESTS=1))
$(eval $(call if-component,pvr_conf,\
-DSUPPORT_XORG_CONF=1))
$(eval $(call if-component,graphicshal,\
-DSUPPORT_GRAPHICS_HAL=1))
$(eval $(call if-component,xorg,\
-DSUPPORT_XORG=1 \
-DXORG_DEST= \
-DXORG_DIR=$(LWS_PREFIX) \
-DPVR_DDX_DESTDIR=$(LWS_PREFIX)/lib/xorg/modules/drivers \
-DPVR_DRI_DESTDIR=$(LWS_PREFIX)/lib/dri \
-DPVR_DDX_INPUT_DESTDIR=$(LWS_PREFIX)/lib/xorg/modules/input \
-DXORG_EXPLICIT_PVR_SERVICES_LOAD=$(XORG_EXPLICIT_PVR_SERVICES_LOAD) \
-DPVR_DRI_CLIENT_MODULE=$(PVR_DRI_CLIENT_MODULE)))
# These defs are common to all driver builds, and inherited from config.mk
#
M4DEFS += \
-DBUILD=$(BUILD) \
-DPVR_BUILD_DIR=$(PVR_BUILD_DIR) \
-DPVRSRV_MODNAME=$(PVRSRV_MODNAME) \
-DDISPLAY_KERNEL_MODULE=$(DISPLAY_CONTROLLER) \
-DPROFILE_COMMON=1 \
-DFFGEN_UNIFLEX=1 \
-DSUPPORT_SGX_HWPERF=$(SUPPORT_SGX_HWPERF) \
# These are common to some builds, and inherited from config.mk
#
ifeq ($(SUPPORT_DRI_DRM),1)
M4DEFS += -DSUPPORT_DRI_DRM=1 -DSUPPORT_DRI_DRM_NOT_PCI=$(PVR_DRI_DRM_NOT_PCI)
ifeq ($(PVR_DRI_DRM_NOT_PCI),1)
M4DEFS += -DDRM_MODNAME=drm
endif
endif
ifeq ($(SUPPORT_ANDROID_PLATFORM),1)
M4DEFS += \
-DSUPPORT_ANDROID_PLATFORM=$(SUPPORT_ANDROID_PLATFORM) \
-DPVR_ANDROID_HAS_EGL_CFG=$(PVR_ANDROID_HAS_EGL_CFG) \
-DGRALLOC_MODULE=gralloc.$(HAL_VARIANT).so \
-DHWCOMPOSER_MODULE=hwcomposer.$(HAL_VARIANT).so \
-DCAMERA_MODULE=camera.$(HAL_VARIANT).so \
-DSENSORS_MODULE=sensors.$(HAL_VARIANT).so \
-DMEMTRACK_MODULE=memtrack.$(HAL_VARIANT).so
endif
ifeq ($(PVR_REMOTE),1)
M4DEFS += -DPVR_REMOTE=1
endif
ifneq ($(wildcard $(MAKE_TOP)/$(PVR_BUILD_DIR)/install.sh.m4),)
# Build using old scheme where M4 built entire install.sh
$(TARGET_OUT)/install.sh: \
$(PVRVERSION_H) $(CONFIG_MK) $(CONFIG_KERNEL_MK) \
$(MAKE_TOP)/scripts/install.sh.m4 \
$(MAKE_TOP)/$(PVR_BUILD_DIR)/install.sh.m4 \
| $(TARGET_OUT)
$(if $(V),,@echo " GEN " $(call relative-to-top,$@))
$(M4) $(M4FLAGS) $(M4DEFS) \
$(MAKE_TOP)/scripts/install.sh.m4 \
$(MAKE_TOP)/$(PVR_BUILD_DIR)/install.sh.m4 > $@
$(CHMOD) +x $@
install_script: $(TARGET_OUT)/install.sh
install_script_km:
else
# Build using new scheme where M4 just builds KM/UM specific portions of the script.
$(TARGET_OUT)/install.sh: $(PVRVERSION_H) $(MAKE_TOP)/scripts/install.sh.tpl
$(if $(V),,@echo " GEN (from tpl) " $(call relative-to-top,$@))
@sed 's/\[PVRVERSION\]/$(PVRVERSION)/g' $(MAKE_TOP)/scripts/install.sh.tpl > $@
$(CHMOD) +x $@
install_script: $(TARGET_OUT)/install.sh
install_script_km: $(TARGET_OUT)/install.sh
ifneq ($(wildcard $(MAKE_TOP)/$(PVR_BUILD_DIR)/install_km.sh.m4),)
# Need to install KM files
$(TARGET_OUT)/install_km.sh: $(PVRVERSION_H) $(CONFIG_KERNEL_MK) \
$(MAKE_TOP)/scripts/common.m4 \
$(MAKE_TOP)/$(PVR_BUILD_DIR)/install_km.sh.m4 \
| $(TARGET_OUT)
$(if $(V),,@echo " GEN " $(call relative-to-top,$@))
$(M4) $(M4FLAGS) $(M4DEFS) \
$(MAKE_TOP)/scripts/common.m4 \
$(MAKE_TOP)/$(PVR_BUILD_DIR)/install_km.sh.m4 > $@
install_script_km: $(TARGET_OUT)/install_km.sh
endif
ifneq ($(wildcard $(MAKE_TOP)/$(PVR_BUILD_DIR)/install_um.sh.m4),)
# Need to install UM files
$(TARGET_OUT)/install_um.sh: $(PVRVERSION_H) $(CONFIG_MK)\
$(MAKE_TOP)/scripts/common.m4 \
$(MAKE_TOP)/$(PVR_BUILD_DIR)/install_um.sh.m4 \
| $(TARGET_OUT)
$(if $(V),,@echo " GEN " $(call relative-to-top,$@))
$(M4) $(M4FLAGS) $(M4DEFS) \
$(MAKE_TOP)/scripts/common.m4 \
$(MAKE_TOP)/$(PVR_BUILD_DIR)/install_um.sh.m4 > $@
install_script: $(TARGET_OUT)/install_um.sh
endif
endif
$(TARGET_OUT)/rc.pvr: \
$(PVRVERSION_H) $(CONFIG_MK) $(CONFIG_KERNEL_MK) \
$(MAKE_TOP)/scripts/rc.pvr.m4 $(MAKE_TOP)/$(PVR_BUILD_DIR)/rc.pvr.m4 \
| $(TARGET_OUT)
$(if $(V),,@echo " GEN " $(call relative-to-top,$@))
$(M4) $(M4FLAGS) $(M4DEFS) $(MAKE_TOP)/scripts/rc.pvr.m4 \
$(MAKE_TOP)/$(PVR_BUILD_DIR)/rc.pvr.m4 > $@
$(CHMOD) +x $@
init_script: $(TARGET_OUT)/rc.pvr
This diff is collapsed.
divert(-1)
############################################################################ ###
##@Title Target install script
##@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
##@License Strictly Confidential.
#### ###########################################################################
include(../scripts/common.m4)
###############################################################################
##
## Diversion discipline
##
## 49 variables
## 50 generic functions
## 51 function header of install_pvr function
## 52 body of install_pvr function
## 53 function trailer of install_pvr function
## 54 function header of install_X function
## 55 body of install_X function
## 56 function trailer of install_X function
## 80 script body
## 200 main case statement for decoding arguments.
##
###############################################################################
###############################################################################
##
## Diversion #49 - Variables that might be overridden
##
###############################################################################
pushdivert(49)dnl
# PVR Consumer services version number
#
[[PVRVERSION]]="PVRVERSION"
popdivert
define([[SET_DDK_INSTALL_LOG_PATH]], [[pushdivert(49)dnl
# Where we record what we did so we can undo it.
#
DDK_INSTALL_LOG=/etc/powervr_ddk_install.log
popdivert]])
###############################################################################
##
## Diversion #50 - Some generic functions
##
###############################################################################
pushdivert(50)dnl
[[# basic installation function
# $1=blurb
#
bail()
{
echo "$1" >&2
echo "" >&2
echo "Installation failed" >&2
exit 1
}
# basic installation function
# $1=fromfile, $2=destfilename, $3=blurb, $4=chmod-flags, $5=chown-flags
#
install_file()
{
if [ ! -e $1 ]; then
[ -n "$VERBOSE" ] && echo "skipping file $1 -> $2"
return
fi
DESTFILE=${DISCIMAGE}$2
DESTDIR=`dirname $DESTFILE`
$DOIT mkdir -p ${DESTDIR} || bail "Couldn't mkdir -p ${DESTDIR}"
[ -n "$VERBOSE" ] && echo "Created directory `dirname $2`"
# Delete the original so that permissions don't persist.
$DOIT rm -f $DESTFILE
$DOIT cp -f $1 $DESTFILE || bail "Couldn't copy $1 to $DESTFILE"
$DOIT chmod $4 ${DISCIMAGE}$2
$DOIT chown $5 ${DISCIMAGE}$2
echo "$3 `basename $1` -> $2"
$DOIT echo "file $2" >>${DISCIMAGE}${DDK_INSTALL_LOG}
}
# Install a symbolic link
# $1=fromfile, $2=destfilename
#
install_link()
{
DESTFILE=${DISCIMAGE}$2
DESTDIR=`dirname $DESTFILE`
if [ ! -e ${DESTDIR}/$1 ]; then
[ -n "$VERBOSE" ] && echo $DOIT "skipping link ${DESTDIR}/$1"
return
fi
$DOIT mkdir -p ${DESTDIR} || bail "Couldn't mkdir -p ${DESTDIR}"
[ -n "$VERBOSE" ] && echo "Created directory `dirname $2`"
# Delete the original so that permissions don't persist.
#
$DOIT rm -f $DESTFILE
$DOIT ln -s $1 $DESTFILE || bail "Couldn't link $1 to $DESTFILE"
$DOIT echo "link $2" >>${DISCIMAGE}${DDK_INSTALL_LOG}
[ -n "$VERBOSE" ] && echo " linked `basename $1` -> $2"
}
# Tree-based installation function
# $1 = fromdir $2=destdir $3=blurb
#
install_tree()
{
if [ ! -z $INSTALL_TARGET ]; then
# Use rsync and SSH to do the copy as it is way faster.
echo "rsyncing $3 to root@$INSTALL_TARGET:$2"
$DOIT rsync -crlpt -e ssh $1/* root@$INSTALL_TARGET:$2 || bail "Couldn't rsync $1 to root@$INSTALL_TARGET:$2"
else
$DOIT mkdir -p ${DISCIMAGE}$2 || bail "Couldn't mkdir -p ${DISCIMAGE}$2"
if [ -z "$DOIT" ]; then
tar -C $1 -cf - . | tar -C ${DISCIMAGE}$2 -x${VERBOSE}f -
else
$DOIT "tar -C $1 -cf - . | tar -C ${DISCIMAGE}$2 -x${VERBOSE}f -"
fi
fi
if [ $? = 0 ]; then
echo "Installed $3 in ${DISCIMAGE}$2"
$DOIT echo "tree $2" >>${DISCIMAGE}${DDK_INSTALL_LOG}
else
echo "Failed copying $3 from $1 to ${DISCIMAGE}$2"
fi
}
# Uninstall something.
#
uninstall()
{
if [ ! -f ${DISCIMAGE}${DDK_INSTALL_LOG} ]; then
echo "Nothing to un-install."
return;
fi
BAD=0
VERSION=""
while read type data; do
case $type in
version) # do nothing
echo "Uninstalling existing version $data"
VERSION="$data"
;;
link|file)
if [ -z "$VERSION" ]; then
BAD=1;
echo "No version record at head of ${DISCIMAGE}${DDK_INSTALL_LOG}"
elif ! $DOIT rm -f ${DISCIMAGE}${data}; then
BAD=1;
else
[ -n "$VERBOSE" ] && echo "Deleted $type $data"
fi
;;
tree)
if [ "${data}" = "/usr/local/XSGX" ]; then
$DOIT rm -Rf ${DISCIMAGE}${data}
fi
;;
esac
done < ${DISCIMAGE}${DDK_INSTALL_LOG};
if [ $BAD = 0 ]; then
echo "Uninstallation completed."
$DOIT rm -f ${DISCIMAGE}${DDK_INSTALL_LOG}
else
echo "Uninstallation failed!!!"
fi
}
# Help on how to invoke
#
usage()
{
echo "usage: $0 [options...]"
echo ""
echo "Options: -v verbose mode"
echo " -n dry-run mode"
echo " -u uninstall-only mode"
echo " --no-pvr don't install PowerVR driver components"
echo " --no-x don't install X window system"
echo " --no-drm don't install DRM libraries"
echo " --no-display don't install integrated PowerVR display module"
echo " --no-bcdevice don't install buffer class device module"
echo " --root path use path as the root of the install file system"
exit 1
}
]]popdivert
###############################################################################
##
## Diversion 51 - the start of the install_pvr() function
##
###############################################################################
pushdivert(51)dnl
install_pvr()
{
$DOIT echo "version PVRVERSION" >${DISCIMAGE}${DDK_INSTALL_LOG}
popdivert
pushdivert(53)dnl
}
popdivert
pushdivert(80)[[
# Work out if there are any special instructions.
#
while [ "$1" ]; do
case "$1" in
-v|--verbose)
VERBOSE=v;
;;
-r|--root)
DISCIMAGE=$2;
shift;
;;
-t|--install-target)
INSTALL_TARGET=$2;
shift;
;;
-u|--uninstall)
UNINSTALL=y
;;
-n) DOIT=echo
;;
--no-pvr)
NO_PVR=y
;;
--no-x)
NO_X=y
;;
--no-drm)
NO_DRM=y
;;
--no-display)
NO_DISPLAYMOD=y
;;
--no-bcdevice)
NO_BCDEVICE=y
;;
-h | --help | *)
usage
;;
esac
shift
done
# Find out where we are? On the target? On the host?
#