Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit a90249d8 authored by Robert Nelson's avatar Robert Nelson
Browse files
parent eb62d947
No related merge requests found
#!/bin/sh -e #!/bin/sh -e
# #
# Copyright (c) 2009-2013 Robert Nelson <robertcnelson@gmail.com> # Copyright (c) 2009-2014 Robert Nelson <robertcnelson@gmail.com>
# #
# Permission is hereby granted, free of charge, to any person obtaining a copy # Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal # of this software and associated documentation files (the "Software"), to deal
...@@ -63,8 +63,18 @@ make_deb () { ...@@ -63,8 +63,18 @@ make_deb () {
mv ${DIR}/*.deb ${DIR}/deploy/ mv ${DIR}/*.deb ${DIR}/deploy/
unset DTBS unset DTBS
cat ${DIR}/KERNEL/arch/arm/Makefile | grep "dtbs:" >/dev/null 2>&1 && DTBS=1 cat ${DIR}/KERNEL/arch/arm/Makefile | grep "dtbs:" >/dev/null 2>&1 && DTBS=enable
if [ "x${DTBS}" != "x" ] ; then
#FIXME: Starting with v3.15-rc0
unset has_dtbs_install
if [ "x${DTBS}" = "x" ] ; then
cat ${DIR}/KERNEL/arch/arm/Makefile | grep "dtbs dtbs_install:" >/dev/null 2>&1 && DTBS=enable
if [ "x${DTBS}" = "xenable" ] ; then
has_dtbs_install=enable
fi
fi
if [ "x${DTBS}" = "xenable" ] ; then
echo "-----------------------------" echo "-----------------------------"
echo "make -j${CORES} ARCH=arm LOCALVERSION=-${BUILD} CROSS_COMPILE=${CC} dtbs" echo "make -j${CORES} ARCH=arm LOCALVERSION=-${BUILD} CROSS_COMPILE=${CC} dtbs"
echo "-----------------------------" echo "-----------------------------"
...@@ -197,6 +207,6 @@ if [ ! ${AUTO_BUILD} ] ; then ...@@ -197,6 +207,6 @@ if [ ! ${AUTO_BUILD} ] ; then
fi fi
make_deb make_deb
make_firmware_pkg make_firmware_pkg
if [ "x${DTBS}" != "x" ] ; then if [ "x${DTBS}" = "xenable" ] ; then
make_dtbs_pkg make_dtbs_pkg
fi fi
\ No newline at end of file
#!/bin/sh -e #!/bin/sh -e
# #
# Copyright (c) 2009-2013 Robert Nelson <robertcnelson@gmail.com> # Copyright (c) 2009-2014 Robert Nelson <robertcnelson@gmail.com>
# #
# Permission is hereby granted, free of charge, to any person obtaining a copy # Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal # of this software and associated documentation files (the "Software"), to deal
...@@ -76,8 +76,18 @@ make_kernel () { ...@@ -76,8 +76,18 @@ make_kernel () {
make -j${CORES} ARCH=arm LOCALVERSION=-${BUILD} CROSS_COMPILE=${CC} ${address} ${image} modules make -j${CORES} ARCH=arm LOCALVERSION=-${BUILD} CROSS_COMPILE=${CC} ${address} ${image} modules
unset DTBS unset DTBS
cat ${DIR}/KERNEL/arch/arm/Makefile | grep "dtbs:" >/dev/null 2>&1 && DTBS=1 cat ${DIR}/KERNEL/arch/arm/Makefile | grep "dtbs:" >/dev/null 2>&1 && DTBS=enable
if [ "x${DTBS}" != "x" ] ; then
#FIXME: Starting with v3.15-rc0
unset has_dtbs_install
if [ "x${DTBS}" = "x" ] ; then
cat ${DIR}/KERNEL/arch/arm/Makefile | grep "dtbs dtbs_install:" >/dev/null 2>&1 && DTBS=enable
if [ "x${DTBS}" = "xenable" ] ; then
has_dtbs_install=enable
fi
fi
if [ "x${DTBS}" = "xenable" ] ; then
echo "-----------------------------" echo "-----------------------------"
echo "make -j${CORES} ARCH=arm LOCALVERSION=-${BUILD} CROSS_COMPILE=${CC} dtbs" echo "make -j${CORES} ARCH=arm LOCALVERSION=-${BUILD} CROSS_COMPILE=${CC} dtbs"
echo "-----------------------------" echo "-----------------------------"
...@@ -252,7 +262,7 @@ fi ...@@ -252,7 +262,7 @@ fi
make_kernel make_kernel
make_modules_pkg make_modules_pkg
make_firmware_pkg make_firmware_pkg
if [ "x${DTBS}" != "x" ] ; then if [ "x${DTBS}" = "xenable" ] ; then
make_dtbs_pkg make_dtbs_pkg
fi fi
if [ "${AUTO_TESTER}" ] ; then if [ "${AUTO_TESTER}" ] ; then
......
#!/bin/sh -e #!/bin/sh -e
# #
# Copyright (c) 2009-2013 Robert Nelson <robertcnelson@gmail.com> # Copyright (c) 2009-2014 Robert Nelson <robertcnelson@gmail.com>
# #
# Permission is hereby granted, free of charge, to any person obtaining a copy # Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal # of this software and associated documentation files (the "Software"), to deal
...@@ -69,8 +69,18 @@ make_kernel () { ...@@ -69,8 +69,18 @@ make_kernel () {
make -j${CORES} ARCH=arm LOCALVERSION=-${BUILD} CROSS_COMPILE=${CC} ${address} ${image} modules make -j${CORES} ARCH=arm LOCALVERSION=-${BUILD} CROSS_COMPILE=${CC} ${address} ${image} modules
unset DTBS unset DTBS
cat ${DIR}/KERNEL/arch/arm/Makefile | grep "dtbs:" >/dev/null 2>&1 && DTBS=1 cat ${DIR}/KERNEL/arch/arm/Makefile | grep "dtbs:" >/dev/null 2>&1 && DTBS=enable
if [ "x${DTBS}" != "x" ] ; then
#FIXME: Starting with v3.15-rc0
unset has_dtbs_install
if [ "x${DTBS}" = "x" ] ; then
cat ${DIR}/KERNEL/arch/arm/Makefile | grep "dtbs dtbs_install:" >/dev/null 2>&1 && DTBS=enable
if [ "x${DTBS}" = "xenable" ] ; then
has_dtbs_install=enable
fi
fi
if [ "x${DTBS}" = "xenable" ] ; then
echo "-----------------------------" echo "-----------------------------"
echo "make -j${CORES} ARCH=arm LOCALVERSION=-${BUILD} CROSS_COMPILE=${CC} dtbs" echo "make -j${CORES} ARCH=arm LOCALVERSION=-${BUILD} CROSS_COMPILE=${CC} dtbs"
echo "-----------------------------" echo "-----------------------------"
...@@ -205,7 +215,7 @@ fi ...@@ -205,7 +215,7 @@ fi
make_kernel make_kernel
make_modules_pkg make_modules_pkg
make_firmware_pkg make_firmware_pkg
if [ "x${DTBS}" != "x" ] ; then if [ "x${DTBS}" = "xenable" ] ; then
make_dtbs_pkg make_dtbs_pkg
fi fi
echo "-----------------------------" echo "-----------------------------"
......
#!/bin/sh -e #!/bin/sh -e
# #
# Copyright (c) 2009-2013 Robert Nelson <robertcnelson@gmail.com> # Copyright (c) 2009-2014 Robert Nelson <robertcnelson@gmail.com>
# #
# Permission is hereby granted, free of charge, to any person obtaining a copy # Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal # of this software and associated documentation files (the "Software"), to deal
...@@ -63,8 +63,18 @@ make_deb () { ...@@ -63,8 +63,18 @@ make_deb () {
mv ${DIR}/*.deb ${DIR}/deploy/ mv ${DIR}/*.deb ${DIR}/deploy/
unset DTBS unset DTBS
cat ${DIR}/KERNEL/arch/arm/Makefile | grep "dtbs:" >/dev/null 2>&1 && DTBS=1 cat ${DIR}/KERNEL/arch/arm/Makefile | grep "dtbs:" >/dev/null 2>&1 && DTBS=enable
if [ "x${DTBS}" != "x" ] ; then
#FIXME: Starting with v3.15-rc0
unset has_dtbs_install
if [ "x${DTBS}" = "x" ] ; then
cat ${DIR}/KERNEL/arch/arm/Makefile | grep "dtbs dtbs_install:" >/dev/null 2>&1 && DTBS=enable
if [ "x${DTBS}" = "xenable" ] ; then
has_dtbs_install=enable
fi
fi
if [ "x${DTBS}" = "xenable" ] ; then
echo "-----------------------------" echo "-----------------------------"
echo "make -j${CORES} ARCH=arm LOCALVERSION=-${BUILD} CROSS_COMPILE=${CC} dtbs" echo "make -j${CORES} ARCH=arm LOCALVERSION=-${BUILD} CROSS_COMPILE=${CC} dtbs"
echo "-----------------------------" echo "-----------------------------"
...@@ -176,6 +186,6 @@ if [ ! ${AUTO_BUILD} ] ; then ...@@ -176,6 +186,6 @@ if [ ! ${AUTO_BUILD} ] ; then
fi fi
make_deb make_deb
make_firmware_pkg make_firmware_pkg
if [ "x${DTBS}" != "x" ] ; then if [ "x${DTBS}" = "xenable" ] ; then
make_dtbs_pkg make_dtbs_pkg
fi fi
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment