remove unused file

Change-Id: I99a4823883c82bf69aa352ec34bd83d981df8a86
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
This commit is contained in:
Eddie Cai
2018-07-06 09:08:04 +08:00
parent 0d44aa83a3
commit 6d5ac45b4d
20 changed files with 0 additions and 504 deletions

View File

@ -1,7 +0,0 @@
#! /bin/bash
./mk-uboot.sh
./mk-kernel.sh
./mk-rootfs.sh
./mk-recovery.sh

View File

@ -1,16 +0,0 @@
#!/bin/bash
#
# Do a parallel build with multiple jobs, based on the number of CPUs online
# in this system: 'make -j8' on a 8-CPU system, etc.
#
JOBS=$(grep -c ^processor /proc/cpuinfo)
cd kernel && make ARCH=arm rockchip_linux_defconfig && make ARCH=arm px3se-evb.img -j$JOBS && cd -
if [ $? -eq 0 ]; then
echo "====Build kernel ok!===="
else
echo "====Build kernel failed!===="
exit 1
fi

View File

@ -1,70 +0,0 @@
#!/bin/bash
#buildroot defconfig
LUNCH=rockchip_px3se_recovery
PROJECT_DIR=$(pwd)
KERNEL_IMAGE=$PROJECT_DIR/kernel/arch/arm/boot/zImage
KERNEL_DTB=$PROJECT_DIR/kernel/resource.img
MAKE_KERNEL_SCRIPT=$PROJECT_DIR/device/rockchip/px3se/mk-kernel.sh
usage()
{
echo "USAGE: build [-ovj]"
echo "-o -Generate ota package"
echo "-v -Set build version name for output image folder"
echo "-j -Build jobs"
exit 1
}
# check pass argument
while getopts "ovj:" arg
do
case $arg in
o)
echo "will build ota package"
BUILD_OTA=true
;;
v)
BUILD_VERSION=$OPTARG
;;
j)
JOBS=$OPTARG
;;
?)
usage ;;
esac
done
TOP_DIR=$(pwd)
source buildroot/build/envsetup.sh $LUNCH
BUILD_CONFIG=`get_defconfig_name`
echo "$BUILD_CONFIG"
RAMDISK_IMAGE=buildroot/output/$BUILD_CONFIG/images/rootfs.cpio.gz
RECOVERY_IMAGE=buildroot/output/$BUILD_CONFIG/images/recovery.img
# build kernel
if [ -f $KERNEL_IMAGE ]
then
echo "found kernel image"
else
echo "kernel image doesn't exist, now build kernel image"
$MAKE_KERNEL_SCRIPT
if [ $? -eq 0 ]; then
echo "build kernel done"
else
exit 1
fi
fi
# build recovery
echo "====Start build recovery===="
make
if [ $? -eq 0 ]; then
echo "====Build recovery ok!===="
else
echo "====Build recovery failed!===="
exit 1
fi
echo -n "pack recovery image..."
$PROJECT_DIR/kernel/scripts/mkbootimg --kernel $KERNEL_IMAGE --ramdisk $RAMDISK_IMAGE --second $KERNEL_DTB -o $RECOVERY_IMAGE
echo "done."

View File

@ -1,23 +0,0 @@
#!/bin/bash
#buildroot defconfig
LUNCH=rockchip_px3se
#build jobs
JOBS=$(grep -c ^processor /proc/cpuinfo)
TOP_DIR=$(pwd)
source buildroot/build/envsetup.sh $LUNCH
TARGET_PRODUCT=`get_target_board_type $LUNCH`
echo "$TARGET_PRODUCT"
export PROJECT_TOP=$TOP_DIR
BUILD_CONFIG=`get_defconfig_name`
echo "$BUILD_CONFIG"
ROOTFS_IMAGE=buildroot/output/$BUILD_CONFIG/images/rootfs.img
# build rootfs
echo "====Start build rootfs===="
make -j$JOBS
if [ $? -eq 0 ]; then
echo "====Build rootfs ok!===="
else
echo "====Build rootfs failed!===="
exit 1
fi

View File

@ -1,10 +0,0 @@
#!/bin/bash
cd u-boot && ./make.sh evb-px3se && cd -
if [ $? -eq 0 ]; then
echo "====Build uboot ok!===="
else
echo "====Build uboot failed!===="
exit 1
fi