]> Pileus Git - ~andy/linux/blobdiff - scripts/package/builddeb
deb-pkg: Fix building for MIPS big-endian or ARM OABI
[~andy/linux] / scripts / package / builddeb
index 5fcfc33dd5baafd2d902b505edc7ab42b7a2e357..f46e4dd0558da4582b38c75d4342456cceefd920 100644 (file)
@@ -41,9 +41,9 @@ create_package() {
        parisc*)
                debarch=hppa ;;
        mips*)
-               debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y $KCONFIG_CONFIG && echo el) ;;
+               debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y $KCONFIG_CONFIG && echo el || true) ;;
        arm*)
-               debarch=arm$(grep -q CONFIG_AEABI=y $KCONFIG_CONFIG && echo el) ;;
+               debarch=arm$(grep -q CONFIG_AEABI=y $KCONFIG_CONFIG && echo el || true) ;;
        *)
                echo "" >&2
                echo "** ** **  WARNING  ** ** **" >&2