• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/linux/linux-ext-ocf-linux.mk
Gustavo ZacariasGustavo Zacarias committed 670d60dc91927 Nov 2012
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
##################################################
2
# Linux OCF extension
3
#
4
# Patch the linux kernel with OCF
5
##################################################
6
​
7
ifeq ($(BR2_LINUX_KERNEL_EXT_OCF_LINUX),y)
8
LINUX_DEPENDENCIES += ocf-linux
9
​
10
# Prepare kernel patch
11
# The linux-3.2.1.patch is just the main inclusion, most of the code
12
# resides in the ocf/ subdir.
13
# It works for older kernel versions.
14
# Run tested from 2.6.38+ and build tested from 2.6.35+
15
define OCF_LINUX_PREPARE_KERNEL
16
    support/scripts/apply-patches.sh $(LINUX_DIR) \
17
        $(OCF_LINUX_DIR)/patches/ linux-3.2.1-ocf.patch ; \
18
    grep -q __mix_pool_bytes $(LINUX_DIR)/drivers/char/random.c && \
19
    $(SED) 's:wordcount\*4:&, NULL:' $(LINUX_DIR)/drivers/char/random.c ; \
20
    cp -rf $(OCF_LINUX_DIR)/ocf $(LINUX_DIR)/crypto/ocf ;
21
endef
22
​
23
LINUX_PRE_PATCH_HOOKS += OCF_LINUX_PREPARE_KERNEL
24
​
25
endif #BR2_LINUX_EXT_OCF_LINUX
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.