diff --git a/BUILD.gn b/BUILD.gn index f5aad1351c9311cf56d39ccab54a90c9d25fb948..617afc7af33fb0ded912e727fe2405ef7e63bccc 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -1,5 +1,16 @@ -# Copyright (c) Huawei Technologies Co., Ltd. 2020. All rights reserved. - +# Copyright (c) 2021 Huawei Device Co., Ltd. +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . import("//build/lite/config/component/lite_component.gni") build_ext_component("linux_kernel") { diff --git a/OAT.xml b/OAT.xml new file mode 100644 index 0000000000000000000000000000000000000000..ccc220bf6243592ef77a69eb798e71dc8ad33d30 --- /dev/null +++ b/OAT.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + diff --git a/build.sh b/build.sh deleted file mode 100755 index 0cf4579f820d6144713d77f40c2dec86203ca2d0..0000000000000000000000000000000000000000 --- a/build.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -set -e - -export TARGET_PRODUCT=hi3516dv300 -export OHOS_ROOT_PATH=$(pwd)/../../.. -export OUTDIR=$1 - -LINUX_KERNEL_OUT=${OHOS_ROOT_PATH}/out/kernel/src_tmp/linux-4.19 -LINUX_KERNEL_OUT_DIR=${OHOS_ROOT_PATH}/out/kernel -HISPARK_TAS_SDK_LINUX_PATH=${OHOS_ROOT_PATH}/device/hisilicon/hispark_taurus/sdk_linux -HISPARK_TAS_SDK_LINUX_MPP_PATH=${HISPARK_TAS_SDK_LINUX_PATH}/soc/src/mpp - -make -f kernel.mk -cp -rf $LINUX_KERNEL_OUT/arch/arm/boot/uImage $OUTDIR/uImage_hi3516dv300_smp - -pushd ${HISPARK_TAS_SDK_LINUX_MPP_PATH}; make -f sdk.mk; popd -rm -rf $LINUX_KERNEL_OUT_DIR diff --git a/linux-4.19/prebuilts/usr/include/asm-arm/asm/Kbuild b/linux-4.19/prebuilts/usr/include/asm-arm/asm/Kbuild deleted file mode 100644 index 4d1cc1847edf076dfb3ea03db6712803a851d28b..0000000000000000000000000000000000000000 --- a/linux-4.19/prebuilts/usr/include/asm-arm/asm/Kbuild +++ /dev/null @@ -1,24 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -# UAPI Header export list -include include/uapi/asm-generic/Kbuild.asm - -generated-y += unistd-common.h -generated-y += unistd-oabi.h -generated-y += unistd-eabi.h - -generic-y += bitsperlong.h -generic-y += bpf_perf_event.h -generic-y += errno.h -generic-y += ioctl.h -generic-y += ipcbuf.h -generic-y += msgbuf.h -generic-y += param.h -generic-y += poll.h -generic-y += resource.h -generic-y += sembuf.h -generic-y += shmbuf.h -generic-y += siginfo.h -generic-y += socket.h -generic-y += sockios.h -generic-y += termbits.h -generic-y += termios.h diff --git a/linux-4.19/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-common.h.cmd b/linux-4.19/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-common.h.cmd deleted file mode 100644 index 9c56be7fe1d940e0a5de68e818e63adba1171d36..0000000000000000000000000000000000000000 --- a/linux-4.19/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-common.h.cmd +++ /dev/null @@ -1 +0,0 @@ -cmd_arch/arm/include/generated/uapi/asm/unistd-common.h := /bin/sh './arch/arm/tools/syscallhdr.sh' 'arch/arm/tools/syscall.tbl' 'arch/arm/include/generated/uapi/asm/unistd-common.h' 'common' '' '__NR_SYSCALL_BASE' diff --git a/linux-4.19/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-eabi.h.cmd b/linux-4.19/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-eabi.h.cmd deleted file mode 100644 index ee977dc764e4510ad4e5da6231d78e972ed88423..0000000000000000000000000000000000000000 --- a/linux-4.19/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-eabi.h.cmd +++ /dev/null @@ -1 +0,0 @@ -cmd_arch/arm/include/generated/uapi/asm/unistd-eabi.h := /bin/sh './arch/arm/tools/syscallhdr.sh' 'arch/arm/tools/syscall.tbl' 'arch/arm/include/generated/uapi/asm/unistd-eabi.h' 'eabi' '' '__NR_SYSCALL_BASE' diff --git a/linux-4.19/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-oabi.h.cmd b/linux-4.19/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-oabi.h.cmd deleted file mode 100644 index e523de50540e9255a1a73f4c97aa14ebef3471eb..0000000000000000000000000000000000000000 --- a/linux-4.19/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-oabi.h.cmd +++ /dev/null @@ -1 +0,0 @@ -cmd_arch/arm/include/generated/uapi/asm/unistd-oabi.h := /bin/sh './arch/arm/tools/syscallhdr.sh' 'arch/arm/tools/syscall.tbl' 'arch/arm/include/generated/uapi/asm/unistd-oabi.h' 'oabi' '' '__NR_SYSCALL_BASE'