api: Rename legacy API files and examples
The API is not very useful these days, since it doesn't support driver model. It is laborious to add new functions to the API as there are so many needed. A better approach would be to create a library containing all of U-Boot, then have the API be generated by a script containing a list of functions, perhaps with wildcards. Then a stub could be created, with a list of entry points, which links with and calls through into the library. In preparation for heading in this direction, rename some of the existing files and directories: - examples/api -> examples/legacy_api - include/api*.h -> include/legacy_api*.h - API_BUILD to LEGACY_API_BUILD Co-developed-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -23,7 +23,7 @@ obj-$(CONFIG_AES) += aes.o
|
||||
obj-$(CONFIG_AES) += aes/
|
||||
obj-$(CONFIG_$(PHASE_)BINMAN_FDT) += binman.o
|
||||
|
||||
ifndef API_BUILD
|
||||
ifndef LEGACY_API_BUILD
|
||||
ifneq ($(CONFIG_CHARSET),)
|
||||
obj-y += charset.o
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user