diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-04-25 20:12:05 -0500 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-04-25 20:13:25 -0500 |
commit | 8b6a574f396972f5065b4cab0d201fbb97015b0f (patch) | |
tree | 1a8d57393466ae650d10076a004762959edd8b9a | |
parent | faee1f6fd5173e70b005b21aa513e7a44f0d7f94 (diff) |
refactor the lower case symbols out
We don't need this, as ARCH is implicit through the directory.
All lower case symbols should be removed now.
58 files changed, 16 insertions, 143 deletions
diff --git a/docs/adding-boards.txt b/docs/adding-boards.txt index e5409fdd1..2c2e80f23 100644 --- a/docs/adding-boards.txt +++ b/docs/adding-boards.txt @@ -16,10 +16,8 @@ target/arm/systems/raspberry-pi2 --------------------- config ADK_TARGET_SYSTEM_RASPBERRY_PI2 bool "Raspberry PI 2" - select ADK_arm - select ADK_raspberry_pi2 - select ADK_TARGET_LITTLE_ENDIAN select ADK_CPU_CORTEX_A7 + select ADK_TARGET_LITTLE_ENDIAN select ADK_TARGET_CPU_WITH_NEON select ADK_TARGET_BOARD_BCM28XX select ADK_TARGET_WITH_VGA @@ -38,8 +36,8 @@ config ADK_TARGET_SYSTEM_RASPBERRY_PI2 Raspberry PI 2 ------------------------ -You need to select as a minimum the architecture, target system name, CPU type -and Kernel format. If a bootloader is required you also need to select it. +You need to select as a minimum a CPU type and Kernel format. +If a bootloader is required you also need to select it. (ADK_PACKAGE_BCM28XX_BOOTLOADER) If the bootloader does not exist as a package in OpenADK, you need to port it first. @@ -137,11 +135,8 @@ $(eval $(call KMOD_template,SND_BCM2708_SOC_I2S,snd-bcm2708-soc-i2s,\ ,60, kmod-snd-soc)) ------------------------ -If the user choose the I2S driver for Raspberry PI 2, create a kmod package +If the user choose the I2S driver for Raspberry PI 2, it creates a kmod package containing the file kernel/sound/soc/bcm/snd-soc-bcm2708-i2s.ko and generate a dependency to kmod-snd-soc when a package management (ipkg/opkg) is used. Furthermore a file with load instructions is created in /etc/modules.d/snd-bcm2708-soc-i2s on the target. - - - diff --git a/scripts/create-menu b/scripts/create-menu index 8bd7de4b3..67176ccdf 100755 --- a/scripts/create-menu +++ b/scripts/create-menu @@ -19,7 +19,7 @@ if [ -d "$topdir/target/appliances" ];then printf "prompt \"Appliance\"\n\n" >> $topdir/target/config/Config.in.appliances printf "config ADK_CHOOSE_APPLIANCE\n" >> $topdir/target/config/Config.in.appliances printf "\tprompt \"choose an appliance\"\n" >> $topdir/target/config/Config.in.appliances - printf "\tboolean\n\n" >> $topdir/target/config/Config.in.appliances + printf "\tbool\n\n" >> $topdir/target/config/Config.in.appliances cat $topdir/target/appliances/*.appliance >> $topdir/target/config/Config.in.appliances 2>/dev/null printf "\nendchoice\n\n" >> $topdir/target/config/Config.in.appliances printf "menu \"Appliance Options\"\n" >> $topdir/target/config/Config.in.appliances @@ -30,12 +30,6 @@ fi # create system default printf "# autogenerated via scripts/create-menu\n" > $topdir/target/config/Config.in.system.default -for j in $systems;do - system=${j#ADK_TARGET_SYSTEM_} - systemu=$(echo $system|tr '[:upper:]' '[:lower:]') - printf "config ADK_$systemu\n" >> $topdir/target/config/Config.in.system.default - printf "\tboolean\n\n" >> $topdir/target/config/Config.in.system.default -done cat >> $topdir/target/config/Config.in.system.default << EOD config ADK_TARGET_SYSTEM @@ -46,7 +40,7 @@ for i in $systems;do systemu=$(echo $system|tr '[:upper:]' '[:lower:]') system=$(echo $system|tr '[:upper:]_' '[:lower:]-') system=$(echo $system|sed 's#x86-64#x86_64#') - printf "\tdefault \"${system}\" if ADK_$systemu\n" >> $topdir/target/config/Config.in.system.default + printf "\tdefault \"${system}\" if $i\n" >> $topdir/target/config/Config.in.system.default done # create or update systems @@ -67,8 +61,6 @@ for arch in $(cat $topdir/target/arch.lst);do printf "source target/$arch/Config.in.systems\n" >> $topdir/target/$arch/Config.in.arch printf "endchoice\n" >> $topdir/target/$arch/Config.in.arch printf "source target/$arch/Config.in.arch\n" >> target/config/Config.in.system.choice - printf "config ADK_$arch\n" >> target/config/Config.in.arch.default - printf "\tboolean\n\n" >> target/config/Config.in.arch.default done cat >> $topdir/target/config/Config.in.arch.default << EOD @@ -77,7 +69,8 @@ config ADK_TARGET_ARCH EOD for arch in $(cat $topdir/target/arch.lst);do - printf "\tdefault \"$arch\" if ADK_$arch\n" >> target/config/Config.in.arch.default + ARCH=$(echo $arch | tr '[:lower:]' '[:upper:]') + printf "\tdefault \"$arch\" if ADK_TARGET_ARCH_$ARCH\n" >> target/config/Config.in.arch.default done cat > $topdir/target/config/Config.in.arch.choice << EOD @@ -90,12 +83,9 @@ EOD for arch in $(cat $topdir/target/arch.lst);do ARCH=$(echo $arch | tr '[:lower:]' '[:upper:]') printf "config ADK_TARGET_ARCH_$ARCH\n" >> $topdir/target/config/Config.in.arch.choice - printf "\tprompt \"$arch system\"\n" >> $topdir/target/config/Config.in.arch.choice - printf "\tboolean\n" >> $topdir/target/config/Config.in.arch.choice - printf "\tselect ADK_$arch\n" >> $topdir/target/config/Config.in.arch.choice + printf "\tbool \"$arch system\"\n" >> $topdir/target/config/Config.in.arch.choice printf "\thelp\n" >> $topdir/target/config/Config.in.arch.choice printf "\t Support for $ARCH systems.\n\n" >> $topdir/target/config/Config.in.arch.choice done - printf "endchoice\n" >> $topdir/target/config/Config.in.arch.choice exit 0 diff --git a/target/aarch64/systems/arm-fm b/target/aarch64/systems/arm-fm index ae988d021..abd335767 100644 --- a/target/aarch64/systems/arm-fm +++ b/target/aarch64/systems/arm-fm @@ -1,10 +1,8 @@ config ADK_TARGET_SYSTEM_ARM_FM bool "ARMv8 Foundation Model" - select ADK_aarch64 - select ADK_arm_fm select ADK_TARGET_LITTLE_ENDIAN - select ADK_LINUX_64 select ADK_CPU_CORTEX_A57 + select ADK_LINUX_64 select ADK_TARGET_KERNEL_IMAGE select ADK_PACKAGE_BOOT_WRAPPER_AARCH64 select ADK_TARGET_WITH_SERIAL diff --git a/target/aarch64/systems/qemu-aarch64 b/target/aarch64/systems/qemu-aarch64 index 0ae0bb578..4d455beb7 100644 --- a/target/aarch64/systems/qemu-aarch64 +++ b/target/aarch64/systems/qemu-aarch64 @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_QEMU_AARCH64 bool "Qemu Emulator" - select ADK_aarch64 - select ADK_qemu_aarch64 select ADK_TARGET_LITTLE_ENDIAN select ADK_LINUX_64 select ADK_CPU_CORTEX_A57 diff --git a/target/aarch64/systems/toolchain-aarch64 b/target/aarch64/systems/toolchain-aarch64 index 4c63276de..c53324d22 100644 --- a/target/aarch64/systems/toolchain-aarch64 +++ b/target/aarch64/systems/toolchain-aarch64 @@ -1,10 +1,8 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_AARCH64 bool "Toolchain only" - select ADK_aarch64 - select ADK_toolchain_aarch64 select ADK_TARGET_LITTLE_ENDIAN - select ADK_CPU_CORTEX_A57 select ADK_LINUX_64 + select ADK_CPU_CORTEX_A57 select ADK_TARGET_TOOLCHAIN select ADK_TARGET_PACKAGE_TXZ help diff --git a/target/alpha/systems/qemu-alpha b/target/alpha/systems/qemu-alpha index 0b9751beb..74684c047 100644 --- a/target/alpha/systems/qemu-alpha +++ b/target/alpha/systems/qemu-alpha @@ -1,10 +1,8 @@ config ADK_TARGET_SYSTEM_QEMU_ALPHA bool "Qemu Emulator" - select ADK_alpha - select ADK_qemu_alpha - select ADK_TARGET_QEMU select ADK_LINUX_64 select ADK_CPU_ALPHA + select ADK_TARGET_QEMU help Support for Qemu Emulator ALPHA architecture. diff --git a/target/alpha/systems/toolchain-alpha b/target/alpha/systems/toolchain-alpha index e27539b12..78abdad98 100644 --- a/target/alpha/systems/toolchain-alpha +++ b/target/alpha/systems/toolchain-alpha @@ -1,11 +1,9 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_ALPHA bool "Toolchain only" - select ADK_alpha - select ADK_toolchain_alpha - select ADK_TARGET_TOOLCHAIN - select ADK_TARGET_PACKAGE_TXZ select ADK_LINUX_64 select ADK_CPU_ALPHA + select ADK_TARGET_TOOLCHAIN + select ADK_TARGET_PACKAGE_TXZ help ALPHA toolchain. diff --git a/target/arc/systems/toolchain-arc b/target/arc/systems/toolchain-arc index 3170dab82..79e6b3ec8 100644 --- a/target/arc/systems/toolchain-arc +++ b/target/arc/systems/toolchain-arc @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_ARC bool "Toolchain only" - select ADK_arc - select ADK_toolchain_arc select ADK_CPU_ARC700 select ADK_TARGET_TOOLCHAIN select ADK_TARGET_PACKAGE_TXZ diff --git a/target/arm/systems/linksys-nslu2 b/target/arm/systems/linksys-nslu2 index 3b6a8b64a..1133eb00b 100644 --- a/target/arm/systems/linksys-nslu2 +++ b/target/arm/systems/linksys-nslu2 @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_LINKSYS_NSLU2 bool "Linksys NSLU2" - select ADK_arm - select ADK_linksys_nslu2 select ADK_TARGET_BIG_ENDIAN select ADK_CPU_XSCALE select ADK_TARGET_WITH_USB diff --git a/target/arm/systems/qemu-arm b/target/arm/systems/qemu-arm index 770bdd4b1..2e3d17dd9 100644 --- a/target/arm/systems/qemu-arm +++ b/target/arm/systems/qemu-arm @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_QEMU_ARM bool "Qemu Emulator" - select ADK_arm - select ADK_qemu_arm select ADK_TARGET_LITTLE_ENDIAN select ADK_TARGET_QEMU select ADK_TARGET_KERNEL_ZIMAGE diff --git a/target/arm/systems/raspberry-pi b/target/arm/systems/raspberry-pi index 8332c20e4..049b4dcac 100644 --- a/target/arm/systems/raspberry-pi +++ b/target/arm/systems/raspberry-pi @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_RASPBERRY_PI bool "Raspberry PI" - select ADK_arm - select ADK_raspberry_pi select ADK_TARGET_LITTLE_ENDIAN select ADK_CPU_ARM1176JZF_S select ADK_TARGET_BOARD_BCM28XX diff --git a/target/arm/systems/raspberry-pi2 b/target/arm/systems/raspberry-pi2 index 6aae1f623..702aae0f5 100644 --- a/target/arm/systems/raspberry-pi2 +++ b/target/arm/systems/raspberry-pi2 @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_RASPBERRY_PI2 bool "Raspberry PI 2" - select ADK_arm - select ADK_raspberry_pi2 select ADK_TARGET_LITTLE_ENDIAN select ADK_CPU_CORTEX_A7 select ADK_TARGET_BOARD_BCM28XX diff --git a/target/arm/systems/sharp-zaurus b/target/arm/systems/sharp-zaurus index ce8352078..568b41865 100644 --- a/target/arm/systems/sharp-zaurus +++ b/target/arm/systems/sharp-zaurus @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_SHARP_ZAURUS bool "Sharp Zaurus CL3200 (Terrier)" - select ADK_arm - select ADK_sharp_zaurus select ADK_TARGET_LITTLE_ENDIAN select ADK_CPU_XSCALE select ADK_TARGET_CPU_WITH_IWMMXT diff --git a/target/arm/systems/solidrun-imx6 b/target/arm/systems/solidrun-imx6 index ddb274be1..ae32b3a1b 100644 --- a/target/arm/systems/solidrun-imx6 +++ b/target/arm/systems/solidrun-imx6 @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 bool "Solidrun IMX6 Embedded Systems" - select ADK_arm - select ADK_solidrun_imx6 select ADK_TARGET_LITTLE_ENDIAN select ADK_CPU_CORTEX_A9 select ADK_TARGET_WITH_VGA diff --git a/target/arm/systems/toolchain-arm b/target/arm/systems/toolchain-arm index 31d9f9711..180510d42 100644 --- a/target/arm/systems/toolchain-arm +++ b/target/arm/systems/toolchain-arm @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_ARM bool "Toolchain only" - select ADK_arm - select ADK_toolchain_arm select ADK_TARGET_TOOLCHAIN select ADK_TARGET_PACKAGE_TXZ help diff --git a/target/avr32/systems/atmel-ngw100 b/target/avr32/systems/atmel-ngw100 index b5dd60c8a..1ed2d216e 100644 --- a/target/avr32/systems/atmel-ngw100 +++ b/target/avr32/systems/atmel-ngw100 @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_ATMEL_NGW100 bool "Atmel NGW100" - select ADK_avr32 - select ADK_atmel_ngw100 select ADK_CPU_AVR32 select ADK_TARGET_KERNEL_UIMAGE select ADK_HOST_BUILD_U_BOOT diff --git a/target/avr32/systems/toolchain-avr32 b/target/avr32/systems/toolchain-avr32 index 0d37f2070..76df7491c 100644 --- a/target/avr32/systems/toolchain-avr32 +++ b/target/avr32/systems/toolchain-avr32 @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_AVR32 bool "Toolchain only" - select ADK_avr32 - select ADK_toolchain_avr32 select ADK_CPU_AVR32 select ADK_TARGET_TOOLCHAIN select ADK_TARGET_PACKAGE_TXZ diff --git a/target/bfin/systems/toolchain-bfin b/target/bfin/systems/toolchain-bfin index 79256a506..a55712ba9 100644 --- a/target/bfin/systems/toolchain-bfin +++ b/target/bfin/systems/toolchain-bfin @@ -1,9 +1,7 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_BFIN bool "Toolchain only" - select ADK_bfin - select ADK_toolchain_bfin - select ADK_TARGET_UCLINUX select ADK_CPU_BFIN + select ADK_TARGET_UCLINUX select ADK_TARGET_TOOLCHAIN select ADK_TARGET_PACKAGE_TXZ help diff --git a/target/c6x/systems/toolchain-c6x b/target/c6x/systems/toolchain-c6x index f2a352446..02ac571ec 100644 --- a/target/c6x/systems/toolchain-c6x +++ b/target/c6x/systems/toolchain-c6x @@ -1,11 +1,9 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_C6X bool "Toolchain only" - select ADK_c6x - select ADK_toolchain_c6x + select ADK_TARGET_UCLINUX select ADK_CPU_C6X select ADK_TARGET_TOOLCHAIN select ADK_TARGET_PACKAGE_TXZ - select ADK_TARGET_UCLINUX help C6X toolchain. diff --git a/target/cris/systems/toolchain-cris b/target/cris/systems/toolchain-cris index 765ba90df..ab5be72f6 100644 --- a/target/cris/systems/toolchain-cris +++ b/target/cris/systems/toolchain-cris @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_CRIS bool "Toolchain only" - select ADK_cris - select ADK_toolchain_cris select ADK_CPU_CRIS_V32 select ADK_TARGET_TOOLCHAIN select ADK_TARGET_PACKAGE_TXZ diff --git a/target/hppa/systems/toolchain-hppa b/target/hppa/systems/toolchain-hppa index bc3c39aca..934e353ba 100644 --- a/target/hppa/systems/toolchain-hppa +++ b/target/hppa/systems/toolchain-hppa @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_HPPA bool "Toolchain only" - select ADK_hppa - select ADK_toolchain_hppa select ADK_CPU_PARISC select ADK_TARGET_TOOLCHAIN select ADK_TARGET_PACKAGE_TXZ diff --git a/target/m68k/systems/aranym-m68k b/target/m68k/systems/aranym-m68k index 3a5099564..92de52ddf 100644 --- a/target/m68k/systems/aranym-m68k +++ b/target/m68k/systems/aranym-m68k @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_ARANYM_M68K bool "ARAnyM Emulator" - select ADK_m68k - select ADK_aranym_m68k select ADK_CPU_M68K select ADK_TARGET_WITH_VGA select ADK_TARGET_WITH_INPUT diff --git a/target/m68k/systems/qemu-m68k b/target/m68k/systems/qemu-m68k index c32089209..a33a1b729 100644 --- a/target/m68k/systems/qemu-m68k +++ b/target/m68k/systems/qemu-m68k @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_QEMU_M68K bool "Qemu M68K" - select ADK_m68k - select ADK_qemu_m68k select ADK_CPU_CF_5208 select ADK_TARGET_QEMU select ADK_TARGET_UCLINUX diff --git a/target/m68k/systems/toolchain-m68k b/target/m68k/systems/toolchain-m68k index 12249bd97..a10b5f532 100644 --- a/target/m68k/systems/toolchain-m68k +++ b/target/m68k/systems/toolchain-m68k @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_M68K bool "Toolchain only" - select ADK_m68k - select ADK_toolchain_m68k select ADK_TARGET_TOOLCHAIN select ADK_TARGET_PACKAGE_TXZ help diff --git a/target/microblaze/systems/qemu-microblaze b/target/microblaze/systems/qemu-microblaze index 9afbb28ca..76690a2d8 100644 --- a/target/microblaze/systems/qemu-microblaze +++ b/target/microblaze/systems/qemu-microblaze @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_QEMU_MICROBLAZE bool "Qemu Emulator" - select ADK_microblaze - select ADK_qemu_microblaze select ADK_CPU_MICROBLAZE select ADK_TARGET_QEMU select ADK_TARGET_KERNEL_LINUXBIN diff --git a/target/microblaze/systems/toolchain-microblaze b/target/microblaze/systems/toolchain-microblaze index e01ed69a0..8025ac4ec 100644 --- a/target/microblaze/systems/toolchain-microblaze +++ b/target/microblaze/systems/toolchain-microblaze @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_MICROBLAZE bool "Toolchain only" - select ADK_microblaze - select ADK_toolchain_microblaze select ADK_TARGET_TOOLCHAIN select ADK_TARGET_PACKAGE_TXZ help diff --git a/target/mips/systems/dragino-ms14s b/target/mips/systems/dragino-ms14s index d96d37fe0..112e2cd01 100644 --- a/target/mips/systems/dragino-ms14s +++ b/target/mips/systems/dragino-ms14s @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_DRAGINO_MS14S bool "Dragino2 ms14-s" - select ADK_mips - select ADK_dragino_ms14s select ADK_TARGET_BIG_ENDIAN select ADK_CPU_MIPS32 select ADK_TARGET_WITH_WATCHDOG diff --git a/target/mips/systems/mikrotik-rb4xx b/target/mips/systems/mikrotik-rb4xx index d5ca50a63..87886524a 100644 --- a/target/mips/systems/mikrotik-rb4xx +++ b/target/mips/systems/mikrotik-rb4xx @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_MIKROTIK_RB4XX bool "Mikrotik Routerboard 4xx" - select ADK_mips - select ADK_mikrotik_rb4xx select ADK_TARGET_BIG_ENDIAN select ADK_CPU_MIPS32 select ADK_TARGET_WITH_MINIPCI diff --git a/target/mips/systems/mikrotik-rb532 b/target/mips/systems/mikrotik-rb532 index f78c5c518..55688d288 100644 --- a/target/mips/systems/mikrotik-rb532 +++ b/target/mips/systems/mikrotik-rb532 @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_MIKROTIK_RB532 bool "Mikrotik Routerboard 532" - select ADK_mips - select ADK_mikrotik_rb532 select ADK_TARGET_LITTLE_ENDIAN select ADK_CPU_MIPS32 select ADK_TARGET_WITH_SERIAL diff --git a/target/mips/systems/qemu-mips b/target/mips/systems/qemu-mips index 2dfc09ca6..949e686a7 100644 --- a/target/mips/systems/qemu-mips +++ b/target/mips/systems/qemu-mips @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_QEMU_MIPS bool "Qemu Emulator" - select ADK_mips - select ADK_qemu_mips select ADK_TARGET_QEMU select ADK_TARGET_KERNEL_VMLINUZ help diff --git a/target/mips/systems/toolchain-mips b/target/mips/systems/toolchain-mips index 035908220..aefe0571d 100644 --- a/target/mips/systems/toolchain-mips +++ b/target/mips/systems/toolchain-mips @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_MIPS bool "Toolchain only" - select ADK_mips - select ADK_toolchain_mips select ADK_TARGET_TOOLCHAIN select ADK_TARGET_PACKAGE_TXZ help diff --git a/target/mips64/systems/lemote-yeelong b/target/mips64/systems/lemote-yeelong index 9b21db1cb..bdb835fab 100644 --- a/target/mips64/systems/lemote-yeelong +++ b/target/mips64/systems/lemote-yeelong @@ -1,7 +1,5 @@ config ADK_TARGET_SYSTEM_LEMOTE_YEELONG bool "Lemote Yeelong laptop" |