Searched refs:debarch (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/scripts/package/
H A Dbuilddeb29 local forcearch="" debarch=""
32 debarch="$UTS_MACHINE" ;;
34 debarch=amd64 ;;
36 debarch=sparc ;;
38 debarch=s390$(grep -q CONFIG_64BIT=y $KCONFIG_CONFIG && echo x || true) ;;
40 debarch=$(grep -q CPU_LITTLE_ENDIAN=y $KCONFIG_CONFIG && echo ppc64el || echo powerpc) ;;
42 debarch=hppa ;;
44 debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y $KCONFIG_CONFIG && echo el || true) ;;
46 debarch=arm64 ;;
48 debarch=arm$(grep -q CONFIG_AEABI=y $KCONFIG_CONFIG && echo el || true) ;;
60 debarch="$KBUILD_DEBARCH"
62 if [ -n "$debarch" ] ; then
63 forcearch="-DArchitecture=$debarch"
67 dpkg-gencontrol $forcearch -Vkernel:debarch="${debarch:-$(dpkg --print-architecture)}" -p$pname -P"$pdir"
320 Description: Linux kernel headers for $KERNELRELEASE on \${kernel:debarch}
321 This package provides kernel header files for $KERNELRELEASE on \${kernel:debarch}

Completed in 109 milliseconds