mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-31 16:37:07 +00:00
Remove duplicate license file
Remove 'license_header' files that were located in hypervisor/ and devicemodel/ and used by the respective Makefiles to build the 'include/version.h' header file. Both Makefiles were adjusted to use the top-level LICENSE file Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
This commit is contained in:
committed by
lijinxia
parent
93fda88893
commit
3efef5790c
@@ -216,7 +216,10 @@ $(VERSION):
|
||||
if [ -n "$$DIRTY" ];then PATCH="$$COMMIT-dirty";else PATCH="$$COMMIT";fi;\
|
||||
TIME=`date "+%F %T"`;\
|
||||
if [ $(RELEASE) = 0 ];then BUILD_TYPE="DBG";else BUILD_TYPE="REL";fi;\
|
||||
cat license_header > $(VERSION);\
|
||||
echo "/*" > $(VERSION); \
|
||||
sed 's/^/ * /' ../LICENSE >> $(VERSION); \
|
||||
echo " */" >> $(VERSION); \
|
||||
echo "" >> $(VERSION); \
|
||||
echo "#define HV_MAJOR_VERSION $(MAJOR_VERSION)" >> $(VERSION);\
|
||||
echo "#define HV_MINOR_VERSION $(MINOR_VERSION)" >> $(VERSION);\
|
||||
echo "#define HV_RC_VERSION $(RC_VERSION)" >> $(VERSION);\
|
||||
|
Reference in New Issue
Block a user