diff options
author | Michal Marek <mmarek@suse.cz> | 2014-04-24 15:39:59 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2014-04-24 15:39:59 +0200 |
commit | 42651ec91af529f2daea14144820846d8ac3cc73 (patch) | |
tree | 757feb470262b3834cf163b7d2dc6dde517c2acb /scripts | |
parent | de71647f7af0cd00b50265498a21b4376955797d (diff) | |
parent | a8d9c9f1f12978eb597fa4d75f412b34825941e7 (diff) |
Merge branch 'kbuild/misc' into kbuild/for-next
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/package/builddeb | 8 | ||||
-rwxr-xr-x | scripts/tags.sh | 3 |
2 files changed, 8 insertions, 3 deletions
diff --git a/scripts/package/builddeb b/scripts/package/builddeb index f46e4dd0558..ae7e607dc28 100644 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb @@ -42,6 +42,8 @@ create_package() { debarch=hppa ;; mips*) debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y $KCONFIG_CONFIG && echo el || true) ;; + arm64) + debarch=arm64 ;; arm*) debarch=arm$(grep -q CONFIG_AEABI=y $KCONFIG_CONFIG && echo el || true) ;; *) @@ -155,11 +157,11 @@ if grep -q '^CONFIG_MODULES=y' $KCONFIG_CONFIG ; then for module in $(find lib/modules/ -name *.ko); do mkdir -p $(dirname $dbg_dir/usr/lib/debug/$module) # only keep debug symbols in the debug file - objcopy --only-keep-debug $module $dbg_dir/usr/lib/debug/$module + $OBJCOPY --only-keep-debug $module $dbg_dir/usr/lib/debug/$module # strip original module from debug symbols - objcopy --strip-debug $module + $OBJCOPY --strip-debug $module # then add a link to those - objcopy --add-gnu-debuglink=$dbg_dir/usr/lib/debug/$module $module + $OBJCOPY --add-gnu-debuglink=$dbg_dir/usr/lib/debug/$module $module done ) fi diff --git a/scripts/tags.sh b/scripts/tags.sh index c1f64893efe..6db551e0749 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -25,6 +25,9 @@ else tree=${srctree}/ fi +# ignore userspace tools +ignore="$ignore ( -path ${tree}tools ) -prune -o" + # Find all available archs find_all_archs() { |