Add buildroot as submodule.

This commit is contained in:
imi415 2021-06-20 17:57:42 +08:00
parent 30775e800c
commit 2f851594c2
Signed by: imi415
GPG Key ID: 17F01E106F9F5E0A
25 changed files with 7 additions and 8 deletions

4
.gitignore vendored
View File

@ -1,3 +1,3 @@
/output
/customizations/users.table
/customizations/overlay/
/external_tree/customizations/users.table
/external_tree/customizations/overlay/

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "buildroot"]
path = buildroot
url = https://github.com/buildroot/buildroot.git

1
buildroot Submodule

@ -0,0 +1 @@
Subproject commit 69f79f2a2ee1417e19c1ead2c9226e11753c06cb

View File

@ -1,8 +1,3 @@
#!/bin/bash
if [ -z ${BUILDROOT_PATH} ]; then
echo "BUILDROOT_PATH environment variable is not set."
exit
fi
make O=${PWD}/output BR2_EXTERNAL=${PWD} -C ${BUILDROOT_PATH} "$@"
make O=${PWD}/output BR2_EXTERNAL=${PWD}/external_tree -C buildroot "$@"