2014-05-20 14:09:29 +00:00
|
|
|
LICENSE := GPL
|
2014-06-02 11:50:17 +00:00
|
|
|
VERSION := 3.14.5
|
2014-05-20 14:09:29 +00:00
|
|
|
DOWNLOADS := dwc_otg.git linux.archive linux_lxip.archive
|
|
|
|
SRC_DIR := src/lib/dde_linux
|
|
|
|
|
|
|
|
#
|
|
|
|
# The git checkout checks for the existence of SRC_DIR, which is created by the
|
|
|
|
# Linux extraction, therefore make sure to checkout the GIT sources first.
|
|
|
|
#
|
|
|
|
linux.archive linux_lxip.archive: dwc_otg.git
|
|
|
|
|
|
|
|
#
|
|
|
|
# USB and IP stack sources
|
|
|
|
#
|
|
|
|
URL(linux) := http://www.kernel.org/pub/linux/kernel/v3.x/linux-$(VERSION).tar.gz
|
2014-06-02 11:50:17 +00:00
|
|
|
SHA(linux) := 675bb3446cbf0889d59a048f6af177ca0a7aacb5
|
2014-05-20 14:09:29 +00:00
|
|
|
DIR(linux) := $(SRC_DIR)
|
|
|
|
TAR_OPT(linux) := --strip-components=1 --files-from $(REP_DIR)/files.list
|
2014-07-24 12:47:25 +00:00
|
|
|
HASH_INPUT += $(REP_DIR)/files.list
|
2014-05-20 14:09:29 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# IP stack headers
|
|
|
|
#
|
|
|
|
URL(linux_lxip) := ${URL(linux)}
|
|
|
|
SHA(linux_lxip) := ${SHA(linux)}
|
|
|
|
DIR(linux_lxip) := $(SRC_DIR)/lxip
|
|
|
|
TAR_OPT(linux_lxip) := --strip-components=1 --files-from $(REP_DIR)/lxip_header.list
|
2014-07-24 12:47:25 +00:00
|
|
|
HASH_INPUT += $(REP_DIR)/lxip_header.list
|
2014-05-20 14:09:29 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Raspberry Pi USB controller
|
|
|
|
#
|
|
|
|
URL(dwc_otg) := https://github.com/nfeske/dwc_otg.git
|
2014-09-20 20:37:56 +00:00
|
|
|
REV(dwc_otg) := r2
|
2014-05-20 14:09:29 +00:00
|
|
|
DIR(dwc_otg) := $(SRC_DIR)/drivers/usb/host/dwc_otg
|
|
|
|
|
|
|
|
PATCHES := patches/*.patch
|
|
|
|
PATCH_OPT = -p1 -d$(SRC_DIR)
|
|
|
|
|
|
|
|
# vi: set ft=make :
|