aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)Author
2017-03-30rmc: fix copyright noticesTodor Minchev
Attribute copyright to Intel and add MIT license headers Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
2017-03-17Makefile: add debug targetTodor Minchev
A debug version of the rmc binary can be built by using the debug Makefile target. This will include debug symbols and will disable compiler optimizations. Example: make debug Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
2017-03-17Makefile: disable silent mode in MakefilesTodor Minchev
By default make will output the commands that are executed for each target. Silent mode can be enabled with the '-s' option. Example: make -s Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
2016-11-21use RMC_CFLAGS for internal compiler options.Jianxun Zhang
The current RMC_CFLAGS worked as an interface for outside .But it should be better to use this variable to hold internal flags and respect CFLAGS passed from outside. Also remove -O2 flag. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
2016-11-20refactoring work (APIs, build dependency, ... etc)Jianxun Zhang
This is a major re-work in rmc with several key changes: To query board-specific data in a rmc database, developers now can take advantage of new defined APIs, either using single-action APIs for a better performance of multiple queries or simply calling a double-action API, which is sufficient to perform a query in one step, to reduce the footprint in code at client side. (Refer to inc/rmc_api.h.) rmc tool itself is modified to use new APIs. Memory map and allocated data can be released after use in user space. In EFI context, rmc doesn't allocate memory for anything returned. In EFI build, necessary data types are defined in rmc in order to get rid of dependency on any EFI implementation. Miscellaneous fixes are also included when we move the pieces around. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
2016-11-20consolidate RSMP and RMCL libraries into oneJianxun Zhang
The two were organized in different libraries from functionality perspective. This change merges them into a single library to simplify linking RMC into client. There should not be much extra footprint on the binary size because they are very small and always work together. We move the code into a common directory lib/common with a RULE readme file. This change also includes miscellaneous amendments in Makefiles. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
2016-11-18fix include path and type definitionsJianxun Zhang
Add detection of current path for -I option, also update type definitions for EFI compiling. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
2016-08-26Makefile: remove static linking in Linux buildJianxun Zhang
The removed static linking was for a desire to make rmc run on systems where c libraries are not provided. But it is nothing wrong to dynamically link rmc with libraries. We also don't have to hardcode the way of linking in Makefile since people can specify it in RMC_CFLAGS passed to make command. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
2016-05-21build: Do not install libraries and headers in user spaceJianxun Zhang
So far the only usage of the stuff removed from installation is rmc tool executable in user space. Libraries and headers are installed with EFI build. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
2016-05-18Makefile: support extra flags for C compilerJianxun Zhang
Append extra flags fed from RMC_CFLAGS so we can try out gcc flags easily. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
2016-05-17Makefile: change installation path for header files.Jianxun Zhang
Create a dir "rmc" to hold all rmc header files. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
2016-05-17Makefile: Add librsmp and rsmp header file into installationJianxun Zhang
Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
2016-05-16Makefile: install rmc toolJianxun Zhang
Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
2016-03-14build: add installation ruleJianxun Zhang
This time we only install rmcl library and necessary header files for rmcl. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
2016-03-14build: replace hardcoded 'ar' with $(AR)Jianxun Zhang
Use implicit variable $(AR) in Makefile Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
2016-03-09build: get rid of hardcoded C compilerJianxun Zhang
This is a small step to support cross-compiling. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
2016-03-09build: Disable echoing in MakefileJianxun Zhang
By default, we don't need to output build info. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
2016-03-07Initial implementation of RMC projectJianxun Zhang
Basical test has been performed on two 64bit targets NUC Gen 6 and Lenovo X220. Refer to README for more information. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>