~ubuntu-branches/ubuntu/lucid/linux-mvl-dove/lucid

« back to all changes in this revision

Viewing changes to debian.mvl-dove/scripts/link-headers

  • Committer: Bazaar Package Importer
  • Author(s): Andy Whitcroft, Andy Whitcroft, Bryan Wu, Eric Miao, Tim Gardner, Upstream Kernel Changes
  • Date: 2010-02-04 20:49:42 UTC
  • Revision ID: james.westby@ubuntu.com-20100204204942-6wx4o856vquptodm
Tags: 2.6.32-200.7
[ Andy Whitcroft ]

* [Config] fix SECURITY and LSM configuration -- mvl-dove
* (buildenv) Add a distclean target to remove temporary files -- mvl-dove
* update remaining references from karmic to lucid -- mvl-dove
* undo slamming architecture to armel -- mvl-dove
* restore linux-image prefix -- mvl-dove
* include modules.builtin in the binary debs -- mvl-dove
* resync kernelconfig with lucid -- mvl-dove
* config-check -- add a configuration enforcer -- mvl-dove
* config-check -- add a unit-test suite to the checker -- mvl-dove
* config-check -- ensure the checks get run at build time -- mvl-dove
* config-check -- check the processed config during updateconfigs --
  mvl-dove
* enforcer -- resync configuration with master -- mvl-dove
* clean up whitespace differences -- mvl-dove
* copy over minor modification -- mvl-dove
* make doc package completely optional -- mvl-dove
* install the full changelog with the binary package -- mvl-dove
* make source package completely optional -- mvl-dove
* make linux-libc-dev completly optional -- mvl-dove
* convert package disable to a deps list -- mvl-dove
* move back to common headers in arch mode -- mvl-dove
* convert binary package disable to a deps list -- mvl-dove
* disable linux-libc-dev -- mvl-dove
* add configuration option for a full source build tree -- mvl-dove
* getabis -- cleanup and parameterise repository list -- mvl-dove
* kernelconfig -- fix minor whitespace damage -- mvl-dove
* getabis -- move configuration to etc/getabis -- mvl-dove
* kernelconfig -- move configuration to etc -- mvl-dove
* set the current branch name -- mvl-dove
* remove common files -- mvl-dove
* remove generated files
* insert-changes -- correctly link to debian/rules in DROOT

[ Bryan Wu ]

* Add 3 missing files to prerm remove file list -- mvl-dove
  - LP: #345623, #415832

[ Eric Miao ]

* [Config]: Enable devtmpfs for mvl-dove kernel
  - LP: #512321
* SAUCE: Enable CPUFREQ by default
  - LP: #513254
* [Config]: Turn on CONFIG_HIBERNATE
  - LP: #502983
* [Config]: Turn on CONFIG_ARM_THUMBEE
* [Config]: Disable V6 debugger mode and use V7

[ Tim Gardner ]

* [Config] DH_COMPAT=5 -- mvl-dove

[ Upstream Kernel Changes ]

* ARM VFP supprot code bug: If any of the status flags are set, update
  the FPSCR
* Marvell Dove VFP errata

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash -e
2
 
 
3
 
. debian/debian.env
4
 
 
5
 
hdrdir="$1"
6
 
symdir="$2"
7
 
flavour="$3"
8
 
 
9
 
echo "Symlinking and copying headers for $flavour..."
10
 
 
11
 
excludes="( -path ./debian -prune -o -path ./${DEBIAN} -prune -o -path ./.git ) -prune -o"
12
 
 
13
 
(
14
 
find . $excludes  -type f \
15
 
        \( -name 'Makefile*' -o -name 'Kconfig*' -o -name 'Kbuild*' -o \
16
 
        -name '*.sh' -o -name '*.pl' -o -name '*.lds' \) -print
17
 
find ./include ./scripts -name .gitignore -prune -o -type f -print
18
 
find ./include -mindepth 1 -maxdepth 1 $excludes -type d -print
19
 
) | (
20
 
while read file; do
21
 
        dir=$file
22
 
        lastdir=$file
23
 
 
24
 
        if [ -e "$hdrdir/$file" -o -L "$hdrdir/$file" ]; then
25
 
                continue
26
 
        fi
27
 
 
28
 
        while [ ! -e "$hdrdir/$dir" -a ! -L "$hdrdir/$dir" ]; do
29
 
                lastdir=$dir
30
 
                dir=`dirname $dir`
31
 
        done
32
 
        # If the last item to exist is a symlink we assume all is good
33
 
        if [ ! -L "$hdrdir/$dir" ]; then
34
 
                # Turns things like "./foo" into "../"
35
 
                deref="`echo -n $lastdir | sed -e 's/^\.//' -e's,/[^/]*,../,g'`"
36
 
                item="`echo -n $lastdir | sed -e 's/^\.\///'`"
37
 
                ln -s $deref$symdir/$item $hdrdir/$item
38
 
        fi
39
 
done
40
 
)
41
 
 
42
 
exit