Commit Graph

28 Commits

Author SHA1 Message Date
YAMAMOTO Takashi
fc7cddee39 Deal with "sed -i" portability
An empty extension for sed -i is not widely available.

* Where it isn't available (eg. macOS's sed) "sed -i -e" will
  create a backup file with the "-e" suffix.

* Even GNU sed documentation says it's "not recommended".

This commit deals with it by:

* Replace it with a more appropriate tool (kconfig-tweak)

* Or, specify the extension (.bak)
2021-01-11 08:38:19 +01:00
Matias N
9ce4de634d support building external code into the OS, similar to how "external" apps work
This works by having the build system look for nuttx/external/Kconfig
to determine whether this directory is present or not. nuttx/external
is gitignored in order to be added by the final user but not to be
commited into the repo. Tipically this will by a symbolic link, just like
apps/external.

Inside external/ a Makefile should be placed with the same structure
than any nuttx/ subdirectory (eg: nuttx/drivers/). The
nuttx/external/Kconfig will be sourced and any options defined there will
appear at the bottom of menuconfig (unless options are conditioned on
menus, in which case they will appear accordingly).

The purpose is to allow arch/board independent code, which for any
reason is not to be upstreamed (propietary, not relevant for mainline,
testing, etc), to be built into the OS during OS building stage. This
way the user does not need to fork the NuttX repo to do so. This feature
complements well with external apps and custom board support.
2020-09-15 21:14:46 -07:00
Ouss4
172aaa5e5c .gitignore: Don't ignore directories that have the .d extenion.
.d directories are common for holding config and init scripts.
They are being ignored with the global *.d pattern which is meant to
ignore Make dependency files.
2020-07-21 23:16:13 -07:00
liuhaitao
b5dc83748c build: Update make dependency to enable 'configure.sh config' parallel build
Note that 'configure.sh config -jn' with parallel build could reduce configure stage
time.

Change-Id: I3d63f1e316a7bc3437fc6c6c2da13c5313e69694
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-05-28 20:01:45 +08:00
Xiang Xiao
dd61d3d9f9 build: Remve the unnecessary .gitignore
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-23 18:00:40 +01:00
Gregory Nutt
ee3ad39026 Remove improper uImage file
Remove boards/arm/sama5/sama5d3-xplained/boot/uImage that can in inadvertantly with a PR merge.

Also, change "/uImage" to just "uImage" in the top-level .gitignore file so that all occurences of uImage will be ignored, not just versions in the nuttx/ top-level directory.
2020-04-24 17:32:48 +01:00
Xiang Xiao
090a4d1690 Update .gitignore per testbuild.sh report
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-20 07:07:32 -06:00
YAMAMOTO Takashi
1ffa009c8b Revert "Don't generate .depend anymore"
This reverts commit 79af7fbf4e.

Because:

* btashton reported some issues in local builds:

  https://github.com/apache/incubator-nuttx/pull/603#issuecomment-602264860

* this might be related to the current CI breakage:

  > /bin/sh: 1: /__w/incubator-nuttx/incubator-nuttx/nuttx/tools/mkdeps: not found
2020-03-22 23:07:29 -05:00
Xiang Xiao
79af7fbf4e
Don't generate .depend anymore 2020-03-22 18:15:29 +00:00
Gregory Nutt
7dfae773f2 .gignore: Remove /pcode. P-code support is gone. 2019-12-02 08:34:43 -06:00
OSer
1e2c840752 Merged in OSer916/nuttx/fix_stm32l4_sai (pull request #1083)
boards/arm/stm32f7/stm32f746g-disco: add SAI driver

* ignore TAGS

* arch/arm/src/stm32l4/stm32l4_sai.c: fix type error

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-02 14:22:58 +00:00
Gregory Nutt
f2a89813f2 Build system: Remove fixed lib/ subdirectory and its content. Replace with new directory called staging/ that is created dynamically when building and removed when 'make clean' is done. This both improves the name and eliminates a garbage directory from the repository. 2018-05-29 11:36:21 -06:00
Gregory Nutt
bea75baaab IP forwarding: Two bugfixes (1) IPFWD poll event must be unique and different from other device poll events otherwise, some other waiting task might get the poll, (2) Add logic necessary to forward 6LoWPAN packets. 2017-07-08 09:56:08 -06:00
Gregory Nutt
8a4bac43a1 tool/configure will now copy Eclipse project files if they are present in the board directory file 2017-06-15 09:59:32 -06:00
Gregory Nutt
2f9028b547 Remove all remaining references to setenv.h and setenv.bat. 2017-04-26 10:28:37 -06:00
Gregory Nutt
274d367984 Fix another compile problem found in build testing. 2017-02-28 16:25:21 -06:00
Gregory Nutt
c0af101257 Remove Eclipse project garbage 2016-11-07 08:12:33 -06:00
Lok Tep
9b7341b670 ignore eclipse .project 2016-09-27 16:47:49 +02:00
Gregory Nutt
550b7e12e3 Remove Eclipse-specific settings from .gitignore 2016-07-07 10:26:31 -06:00
Gregory Nutt
b3a73c3697 Remove newlines from .gitignore files 2016-07-07 10:25:13 -06:00
Lok Tep
7eb65246ee eclipse 2016-05-24 23:24:22 +02:00
Gregory Nutt
3de87c8693 Fix top-level .gitignore. What was I thinking? 2016-04-10 14:39:59 -06:00
Gregory Nutt
2902dc8c3e Restore top-level .gitignore; testbuild.sh must distinguish CONFIG_ARM_TOOLCHAIN_GNU from other symbols that begin with the same string 2016-04-10 09:11:48 -06:00
Gregory Nutt
87b4f2261e Update top-level .gitignore 2015-06-28 10:01:40 -06:00
Gregory Nutt
b6da35e12c Add a script to produce ctags. From Ken Pettit 2013-11-23 06:49:40 -06:00
Gregory Nutt
db78b76102 Mostly updates and corrections to .gitignore files 2013-04-04 15:39:50 -06:00
Gregory Nutt
23db0682b7 Clone svn:ignore directory atributed to .gitignore files 2013-04-04 14:27:29 -06:00
Gregory Nutt
ca08f96482 First test of the GIT repository 2013-04-04 11:34:01 -06:00