Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite FAT makefile as snippet #144

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Rewrite FAT makefile as snippet #144

wants to merge 12 commits into from

Conversation

JE-Archer
Copy link
Contributor

@JE-Archer JE-Archer commented Jan 9, 2025

No description provided.

@JE-Archer JE-Archer requested a review from wom-bat January 9, 2025 05:02
components/fs/fat/fat.mk Outdated Show resolved Hide resolved
components/fs/fat/fat.mk Show resolved Hide resolved
mkdir -p fat/ff15

fat/ff15/%.o: CFLAGS += $(FAT_CFLAGS)
fat/ff15/%.o: $(FAT_FF15_SRC_DIR)/%.c $(FAT_LIBC_INCLUDE) $(CHECK_FAT_FLAGS_MD5) |fat/ff15
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FAT_LIBC_INCLUDE is undefined -- I don't think it's needed in the dependencies, as it's not going to change. The .d files will pick up changed files.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FAT_LIBC_INCLUDE is supposed to be defined by the includer. In the case of musllibc, the include files are generated, so musllibc needs to be built before they exist, which is why I added it as a dependency.

@JE-Archer JE-Archer force-pushed the fat_make_snippet branch 2 times, most recently from b1218c0 to 45841d7 Compare January 10, 2025 00:44
@JE-Archer JE-Archer changed the base branch from main to fs_cleanup January 10, 2025 02:18
Base automatically changed from fs_cleanup to main January 10, 2025 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants