mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
synced 2024-12-18 05:04:51 +00:00
32eb7c7307
GPLv2 firmware for carl9170, Atheros AR9170 802.11 draft-n USB driver. Cc: Christian Lamparter <chunkeey@googlemail.com> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
21 lines
554 B
CMake
21 lines
554 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
|
|
project(miniboot.fw)
|
|
|
|
include("../extra/sh-elf-linux.cmake")
|
|
include("../config.cmake")
|
|
|
|
set(miniboot_src miniboot.S)
|
|
set_source_files_properties(miniboot.S PROPERTIES LANGUAGE C)
|
|
|
|
add_executable(miniboot.elf miniboot.S)
|
|
|
|
set_target_properties(miniboot.elf PROPERTIES LINKER_LANGUAGE C)
|
|
|
|
set_target_properties(miniboot.elf PROPERTIES LINK_FLAGS "-Tminiboot.lds")
|
|
|
|
add_custom_target(
|
|
miniboot.fw ALL
|
|
${OBJCOPY} --strip-unneeded -O binary -R .sram -R .eeprom -R .fwdsc miniboot.elf miniboot.fw
|
|
DEPENDS miniboot.elf)
|