dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/scripts
Sam Ravnborg d8ecc5cd8e kbuild: asm-generic support
There is an increasing amount of header files
shared between individual architectures in asm-generic.
To avoid a lot of dummy wrapper files that just
include the corresponding file in asm-generic provide
some basic support in kbuild for this.

With the following patch an architecture can maintain
a list of files in the file arch/$(ARCH)/include/asm/Kbuild

To use a generic file just add:

        generic-y += <name-of-header-file.h>

For each file listed kbuild will generate the necessary
wrapper in arch/$(ARCH)/include/generated/asm.

When installing userspace headers a wrapper is likewise created.

The original inspiration for this came from the unicore32
patchset - although a different method is used.

The patch includes several improvements from Arnd Bergmann.
Michael Marek contributed Makefile.asm-generic.

Remis Baima did an intial implementation along to achive
the same - see https://patchwork.kernel.org/patch/13352/

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Guan Xuetao <guanxuetao@mprc.pku.edu.cn>
Tested-by: Guan Xuetao <guanxuetao@mprc.pku.edu.cn>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: Remis Lima Baima <remis.developer@googlemail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2011-04-28 18:01:41 +02:00
..
basic kbuild: Fix computing srcversion for modules 2011-03-13 15:59:58 -07:00
coccinelle scripts/coccinelle: update for compatability with Coccinelle 0.2.4 2010-12-03 12:27:01 +01:00
dtc of/flattree: Update dtc to current mainline. 2011-01-03 16:02:49 -07:00
genksyms genksyms: Regenerate lexer and parser 2011-03-17 15:13:56 +01:00
kconfig trivial: Fix Steven's Copyright typos 2011-02-08 17:14:31 -05:00
ksymoops
mod Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6 2011-03-21 15:55:26 -07:00
package kbuild: Add make tarxz-pkg build option 2011-03-09 16:18:06 +01:00
rt-tester rtmutex: tester: Remove the remaining BKL leftovers 2011-02-22 22:07:22 +01:00
selinux SELinux: Auto-generate security_is_socket_class 2011-03-03 15:19:43 -05:00
tracing
.gitignore gitignore: add scripts/recordmcount 2010-11-25 15:49:50 +01:00
Kbuild.include kbuild: Fix build with binutils <= 2.19 2011-04-20 15:39:22 +02:00
Lindent
Makefile KBuild: silence "'scripts/unifdef' is up to date." 2011-03-17 12:29:20 +01:00
Makefile.asm-generic kbuild: asm-generic support 2011-04-28 18:01:41 +02:00
Makefile.build kbuild: implement several W= levels 2011-04-28 17:59:07 +02:00
Makefile.clean
Makefile.fwinst
Makefile.headersinst kbuild: asm-generic support 2011-04-28 18:01:41 +02:00
Makefile.help
Makefile.host
Makefile.lib kbuild: Call gzip with -n 2011-04-18 14:24:36 +02:00
Makefile.modbuiltin
Makefile.modinst
Makefile.modpost
bin2c.c
bloat-o-meter bloat-o-meter: include read-only data section in report 2011-03-22 17:44:17 -07:00
bootgraph.pl
checkincludes.pl
checkkconfigsymbols.sh
checkpatch.pl checkpatch: warn about memset with swapped arguments 2011-03-22 17:44:15 -07:00
checkstack.pl
checksyscalls.sh checksyscalls: Fix stand-alone usage 2010-12-20 15:40:33 +01:00
checkversion.pl
cleanfile
cleanpatch
coccicheck Coccinelle: Add contextual message 2010-10-28 00:32:23 +02:00
config kbuild: add numeric --set-val option to scripts/config 2010-12-15 15:44:31 +01:00
conmakehash.c
decodecode
diffconfig
export_report.pl
extract-ikconfig scripts/extract-ikconfig: add xz compression support 2011-02-10 15:23:03 +01:00
gcc-goto.sh jump label: Fix GCC feature check when distcc is used 2010-09-24 09:12:25 +02:00
gcc-version.sh
gcc-x86_32-has-stack-protector.sh
gcc-x86_64-has-stack-protector.sh
gen_initramfs_list.sh initramfs: Use KBUILD_BUILD_TIMESTAMP for generated entries 2011-04-18 14:27:52 +02:00
get_maintainer.pl get_maintainer.pl: allow "K:" pattern tests to match non-patch text 2011-03-22 17:44:13 -07:00
gfp-translate scripts: fix gfp-translate for recent changes to gfp.h 2010-11-25 06:50:49 +09:00
headerdep.pl
headers.sh kbuild: introduce HDR_ARCH_LIST for headers_install_all 2010-12-14 22:16:19 +01:00
headers_check.pl headers_check: Fix warning text 2010-12-14 17:05:08 +01:00
headers_install.pl headers_install: check exit status of unifdef 2010-12-14 15:06:04 +01:00
kallsyms.c scripts/kallsyms: Enable error messages while hush up unnecessary warnings 2010-09-29 16:18:27 +02:00
kernel-doc kernel-doc: code reorganization 2011-01-06 09:59:38 -08:00
makelst
markup_oops.pl
mkcompile_h kbuild: Allow to override LINUX_COMPILE_BY and LINUX_COMPILE_HOST macros 2011-04-18 14:26:55 +02:00
mkmakefile fixes for using make 3.82 2010-08-17 11:47:40 +02:00
mksysmap
mkuboot.sh mkuboot.sh: Fail if mkimage is missing 2011-01-07 14:31:01 +01:00
mkversion
module-common.lds
namespace.pl Revert "namespace: add source file location exceptions" 2010-10-28 00:59:56 +02:00
patch-kernel
pnmtologo.c
profile2linkerlist.pl
recordmcount.c ftrace: Add .ref.text as one of the safe areas to trace 2011-03-10 10:34:39 -05:00
recordmcount.h Merge branches 'ftrace', 'gic', 'io', 'kexec', 'mod', 'sa11x0', 'sh' and 'versatile' into devel 2011-01-05 18:08:10 +00:00
recordmcount.pl ftrace: Add .ref.text as one of the safe areas to trace 2011-03-10 10:34:39 -05:00
setlocalversion setlocalversion: update mercurial tag parsing 2011-01-15 00:40:44 +01:00
show_delta
tags.sh Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6 2011-03-20 18:13:09 -07:00
unifdef.c unifdef: update to upstream version 2.5 2011-01-22 15:50:59 +01:00
ver_linux
xz_wrap.sh decompressors: add XZ decompressor module 2011-01-13 08:03:24 -08:00