From cfde940d6d0ea9905a5eb9565cc7d883603c2c73 Mon Sep 17 00:00:00 2001 From: Andrew Boie Date: Sun, 24 Feb 2019 11:12:50 -0800 Subject: [PATCH] x86: relocate some arch-specific scripts These scripts are specific to the x86 port. Signed-off-by: Andrew Boie --- arch/x86/CMakeLists.txt | 6 +++--- {scripts => arch/x86}/gen_gdt.py | 0 {scripts => arch/x86}/gen_idt.py | 0 {scripts => arch/x86}/gen_mmu_x86.py | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename {scripts => arch/x86}/gen_gdt.py (100%) rename {scripts => arch/x86}/gen_idt.py (100%) rename {scripts => arch/x86}/gen_mmu_x86.py (100%) diff --git a/arch/x86/CMakeLists.txt b/arch/x86/CMakeLists.txt index 80af9428c3f..cbad6fcb98c 100644 --- a/arch/x86/CMakeLists.txt +++ b/arch/x86/CMakeLists.txt @@ -39,7 +39,7 @@ else() set(GENIDT_EXTRA_ARGS "") endif() -set(GENIDT ${ZEPHYR_BASE}/scripts/gen_idt.py) +set(GENIDT ${ZEPHYR_BASE}/arch/x86/gen_idt.py) define_property(GLOBAL PROPERTY PROPERTY_OUTPUT_ARCH BRIEF_DOCS " " FULL_DOCS " ") @@ -138,7 +138,7 @@ if(CONFIG_X86_MMU) ${user_mmu_tables_bin} COMMAND ${PYTHON_EXECUTABLE} - ${ZEPHYR_BASE}/scripts/gen_mmu_x86.py + ${ZEPHYR_BASE}/arch/x86/gen_mmu_x86.py -i mmulist.bin -k $ -o mmu_tables.bin @@ -170,7 +170,7 @@ if(CONFIG_GDT_DYNAMIC) OUTPUT gdt.bin COMMAND ${PYTHON_EXECUTABLE} - ${ZEPHYR_BASE}/scripts/gen_gdt.py + ${ZEPHYR_BASE}/arch/x86/gen_gdt.py --kernel $ --output-gdt gdt.bin $<$:--verbose> diff --git a/scripts/gen_gdt.py b/arch/x86/gen_gdt.py similarity index 100% rename from scripts/gen_gdt.py rename to arch/x86/gen_gdt.py diff --git a/scripts/gen_idt.py b/arch/x86/gen_idt.py similarity index 100% rename from scripts/gen_idt.py rename to arch/x86/gen_idt.py diff --git a/scripts/gen_mmu_x86.py b/arch/x86/gen_mmu_x86.py similarity index 100% rename from scripts/gen_mmu_x86.py rename to arch/x86/gen_mmu_x86.py