From 0cb4cfdadf4973c1002b29ed9b9d5bc405dd720a Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 19 Jan 2018 14:16:58 +0100 Subject: [PATCH] docs: dev/hardware: remove some outdated info, reword a bit --- docs/dev/hardware.rst | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/dev/hardware.rst b/docs/dev/hardware.rst index 7c17bcc9..511d47c1 100644 --- a/docs/dev/hardware.rst +++ b/docs/dev/hardware.rst @@ -7,21 +7,19 @@ Hardware requirements --------------------- Having an ath9k (or ath10k) based WLAN adapter is highly recommended, although other chipsets may also work. VAP (multiple SSID) support -is a requirement. At the moment, Gluon's scripts can't handle devices -without WLAN adapters (although such environments may also be interesting, -e.g. for automated testing in virtual machines). +is a requirement. .. _hardware-adding-profiles: Adding profiles --------------- -The vast majority of devices with ath9k WLAN uses the ar71xx target of LEDE. -If the hardware you want to add support for is also ar71xx, adding a new profile -is enough. +The vast majority of devices with ath9k WLAN is based on the ar71xx target of LEDE. +If the hardware you want to add support for is ar71xx, adding a new profile +is sufficient. Profiles are defined in ``targets/*`` in a shell-based DSL (so common shell -commands syntax like ``if`` can be used. +command syntax like ``if`` can be used). The ``device`` command is used to define an image build for a device. It takes two or three parameters.