summaryrefslogtreecommitdiff
path: root/strata/bsp-jetson-devel/jetson-linux.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/bsp-jetson-devel/jetson-linux.morph')
-rw-r--r--strata/bsp-jetson-devel/jetson-linux.morph20
1 files changed, 18 insertions, 2 deletions
diff --git a/strata/bsp-jetson-devel/jetson-linux.morph b/strata/bsp-jetson-devel/jetson-linux.morph
index 05507367..bff63740 100644
--- a/strata/bsp-jetson-devel/jetson-linux.morph
+++ b/strata/bsp-jetson-devel/jetson-linux.morph
@@ -44,8 +44,8 @@ configure-commands:
- scripts/config -d DEBUG_STACK_TRACE
- scripts/config -e NFSD
- scripts/config -e NFSD_V3
-- scripts/config -e CONFIG_DRM_NOUVEAU
-- scripts/config -e CONFIG_DRM_TEGRA_STAGING
+- scripts/config -e DRM_TEGRA_STAGING
+- scripts/config -m DRM_NOUVEAU
- yes '' | make ARCH=arm oldconfig
build-commands:
- make $MAKEFLAGS ARCH=arm LOADADDR=0x80200000 zImage dtbs
@@ -53,3 +53,19 @@ install-commands:
- mkdir -p "$DESTDIR"/boot
- cp arch/arm/boot/zImage "$DESTDIR"/boot/zImage
- cp arch/arm/boot/dts/tegra124-jetson-tk1.dtb "$DESTDIR"/boot/.
+- make modules
+- make INSTALL_MOD_PATH="$DESTDIR" modules_install
+- install -d "$DESTDIR$PREFIX/src/linux"
+- |
+ (
+ printf 'Makefile\0'
+ printf 'Module.symvers\0'
+ find arch/arm -maxdepth 1 -name 'Makefile*' -print0
+ find arch/arm \( -name 'module.lds' -o -name 'Kbuild.platforms' -o -name 'Platform' \) -print0
+ find arch/arm \( -type d -a \( -name include -o -name scripts \) \) -o \
+ \! -type d -a \( -path '*include/*' -o -path '*scripts/*' \) -print0
+ find include -name 'asm*' -prune -o -print0
+ find include/asm-generic -print0
+ find include/uapi -print0
+ find scripts -print0
+ ) | cpio -0pumd "$DESTDIR$PREFIX/src/linux"