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

makefiles: restructure and fix some issues with various make tools #166

Closed
wants to merge 1 commit into from
Closed

makefiles: restructure and fix some issues with various make tools #166

wants to merge 1 commit into from

Conversation

jmalak
Copy link
Contributor

@jmalak jmalak commented Jul 9, 2024

  • move TARGET related macros to toolchain related makefiles
  • move CPU related setup to toolchain related makefiles

Notes: not all make utilities behave same that some construct cannot be used only stupid hardcoded names works OK
!! environment variables is not created from macros if not exist in environment !!
it is wmake and nmake behaviour, if appropriate tool is not configured (env. variables not exist) then you must use command line parameters to work correctly
if we want to work in any situation then command line parameters is necessary
now it is fixed for INCLUDE/INCLUDEPATH macros that appropriate values are passed by command line
other macros/env.vars must be fixed too (LIBPATH, LIB, ...), but it is not issue for gcc and mostly for OW

- move TARGET related macros to toolchain related makefiles
- move CPU related setup to toolchain related makefiles

Notes: not all make utilities behave same that some construct cannot be used
only stupid hardcoded names works OK
!! environment variables is not created from macros if not exist in environment !!
it is wmake and nmake behaviour, if appropriate tool is not configured (env. variables  not exist) then you must use command line parameters
to work correctly in any situation command line parameters is necessary
now it is fixed for INCLUDE/INCLUDEPATH macros that appropriate values are passed by command line
other env.vars must be fixed too (LIBPATH, LIB, ...), but it is not issue for gcc and partialy for OW
@jmalak jmalak closed this Jul 15, 2024
@jmalak jmalak deleted the makefiles branch July 15, 2024 22:29
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.

1 participant