-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
46 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
source "$BR2_EXTERNAL_project_base_PATH/package/aesd-assignments/Config.in" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
BR2_aarch64=y | ||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y | ||
BR2_GLOBAL_PATCH_DIR="board/qemu/patches" | ||
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y | ||
BR2_TARGET_GENERIC_ROOT_PASSWD="root" | ||
BR2_SYSTEM_DHCP="eth0" | ||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" | ||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" | ||
BR2_LINUX_KERNEL=y | ||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y | ||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.32" | ||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y | ||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux.config" | ||
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y | ||
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y | ||
BR2_PACKAGE_DROPBEAR=y | ||
BR2_PACKAGE_OPENSSH=y | ||
BR2_TARGET_ROOTFS_EXT2=y | ||
BR2_TARGET_ROOTFS_EXT2_4=y | ||
# BR2_TARGET_ROOTFS_TAR is not set | ||
BR2_PACKAGE_HOST_QEMU=y | ||
BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y | ||
BR2_PACKAGE_AESD_ASSIGNMENTS=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
name: project_base | ||
desc: External configuration for the AESD project |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include $(sort $(wildcard $(BR2_EXTERNAL_project_base_PATH)/package/*/*.mk)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,23 +6,33 @@ | |
############################################################## | ||
|
||
#TODO: Fill up the contents below in order to reference your assignment 3 git contents | ||
AESD_ASSIGNMENTS_VERSION = '#COMMIT VERSION NUMBER' | ||
AESD_ASSIGNMENTS_VERSION = 38605b396197efe831fe8de4d86271ba049e1894 | ||
# Note: Be sure to reference the *ssh* repository URL here (not https) to work properly | ||
# with ssh keys and the automated build/test system. | ||
# Your site should start with [email protected]: | ||
AESD_ASSIGNMENTS_SITE = '#GITHUB REPOSITORY LINK' | ||
AESD_ASSIGNMENTS_SITE = [email protected]:cu-ecen-aeld/assignments-3-and-later-bmoussa1.git | ||
AESD_ASSIGNMENTS_SITE_METHOD = git | ||
AESD_ASSIGNMENTS_GIT_SUBMODULES = YES | ||
|
||
# Use a local source directory for faster rebuilds if specified | ||
ifeq ($$(AESD_ASSIGNMENTS_OVERRIDE_SCRDIR),) | ||
AESD_ASSIGNMENTS_SRCDIR = $(@D) | ||
else | ||
AESD_ASSIGNMENTS_SRCDIR = $$(AESD_ASSIGNMENTS_OVERRIDE_SCRDIR) | ||
endif | ||
|
||
define AESD_ASSIGNMENTS_BUILD_CMDS | ||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)/finder-app all | ||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(AESD_ASSIGNMENTS_SRCDIR)finder-app all | ||
endef | ||
|
||
# TODO add your writer, finder and finder-test utilities/scripts to the installation steps below | ||
define AESD_ASSIGNMENTS_INSTALL_TARGET_CMDS | ||
$(INSTALL) -d 0755 $(@D)/conf/ $(TARGET_DIR)/etc/finder-app/conf/ | ||
$(INSTALL) -m 0755 $(@D)/conf/* $(TARGET_DIR)/etc/finder-app/conf/ | ||
$(INSTALL) -m 0755 $(@D)/assignment-autotest/test/assignment4/* $(TARGET_DIR)/bin | ||
$(INSTALL) -d 0755 $(AESD_ASSIGNMENTS_SRCDIR)/conf/ $(TARGET_DIR)/etc/finder-app/conf/ | ||
$(INSTALL) -m 0755 $(AESD_ASSIGNMENTS_SRCDIR)/conf/* $(TARGET_DIR)/etc/finder-app/conf/ | ||
$(INSTALL) -m 0755 $(AESD_ASSIGNMENTS_SRCDIR)/assignment-autotest/test/assignment4/* $(TARGET_DIR)/bin | ||
$(INSTALL) -m 0755 $(AESD_ASSIGNMENTS_SRCDIR)finder-app/finder-test.sh $(TARGET_DIR)/usr/bin/ | ||
$(INSTALL) -m 0755 $(AESD_ASSIGNMENTS_SRCDIR)finder-app/finder.sh $(TARGET_DIR)/usr/bin/ | ||
$(INSTALL) -m 0755 $(AESD_ASSIGNMENTS_SRCDIR)finder-app/writer $(TARGET_DIR)/usr/bin/ | ||
endef | ||
|
||
$(eval $(generic-package)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
make -C buildroot distclean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters