Skip to content

Commit cd705e6

Browse files
committed
create_package: Makefiles for the linuxarm64 package's examples
linuxarm64 skips the project generator like the Raspberry Pi packages but wasn't in their list for copying the Linux Makefile and config.make, so none of its examples (or apps/myApps/emptyExample) could be built with make.
1 parent bff5bd3 commit cd705e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/dev/create_package.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ function createProjectFiles {
217217
#fix config.make because the project generator is putting in the full path to the OF_ROOT as it is designed to do.
218218
#in this case we actually don't want to set it as the default of ../../../ is fine.
219219
find $PKG_OFROOT/examples -name "config.make" -type f -exec sed -i 's/^OF_ROOT =.*/# OF_ROOT = ..\/..\/..\//' {} \;
220-
elif [ "$PKG_PLATFORM" == "linuxarmv6l" ] || [ "$PKG_PLATFORM" == "linuxarmv7l" ] || [ "$PKG_PLATFORM" == "linuxaarch64" ]; then
220+
elif [ "$PKG_PLATFORM" == "linuxarm64" ] || [ "$PKG_PLATFORM" == "linuxarmv6l" ] || [ "$PKG_PLATFORM" == "linuxarmv7l" ] || [ "$PKG_PLATFORM" == "linuxaarch64" ]; then
221221
for example_group in $PKG_OFROOT/examples/*; do
222222
for example in $example_group/*; do
223223
if [ -d $example ]; then

0 commit comments

Comments
 (0)