Skip to content

Instantly share code, notes, and snippets.

View annerajb's full-sized avatar

Anner J. Bonilla annerajb

View GitHub Profile
@annerajb
annerajb / tegra210-mcp251x-spi1-pe4.dtsi
Last active March 22, 2018 03:17 — forked from wilkinsw/tegra210-mcp251x-spi1-pe4.dtsi
Enabling MCP251x SPI CAN Controller Driver in Jetson TX1 (J21 SPI1)
/*this program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
# Local filesystem mounting -*- shell-script -*-
pre_mountroot()
{
[ "$quiet" != "y" ] && log_begin_msg "Running /scripts/local-top"
run_scripts /scripts/local-top
[ "$quiet" != "y" ] && log_end_msg
}
mountroot()
diff --git a/core/Makefile b/core/Makefile
index 76eb3b8..d14cb8c 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -403,7 +403,7 @@ TARGET_UBUNTU_INITRD := $(TARGET_OUT_UBUNTU_INITRD)/usr/lib/ubuntu-touch-generic
INSTALLED_RAMDISK_TARGET := $(BUILT_RAMDISK_TARGET)
.PHONY: $(INSTALLED_RAMDISK_TARGET)
-$(INSTALLED_RAMDISK_TARGET): $(MKBOOTFS) | $(MINIGZIP)
+$(INSTALLED_RAMDISK_TARGET): $(MKBOOTFS) $(INSTALLED_RAMDISK_TARGET_ANDROID) | $(MINIGZIP)