Improve handling root.img build alone
Provide separate make targets: rootimg-build (root.img) and package (make the rpm).
This commit is contained in:
parent
f1b1258631
commit
af8cd92285
8
Makefile
8
Makefile
@ -27,13 +27,17 @@ help:
|
|||||||
@echo "make update-repo-installer -- copy newly generated rpm to installer repo"
|
@echo "make update-repo-installer -- copy newly generated rpm to installer repo"
|
||||||
@echo "make clean -- copy newly generated rpm to installer repo"
|
@echo "make clean -- copy newly generated rpm to installer repo"
|
||||||
|
|
||||||
|
template-name:
|
||||||
|
@echo $(TEMPLATE_NAME)
|
||||||
|
|
||||||
prepare:
|
prepare:
|
||||||
|
@echo "Building template: $(TEMPLATE_NAME)"
|
||||||
@echo $(TIMESTAMP) > build_timestamp_$(TEMPLATE_NAME)
|
@echo $(TIMESTAMP) > build_timestamp_$(TEMPLATE_NAME)
|
||||||
|
|
||||||
rpms: prepare rootimg-build
|
package:
|
||||||
@echo "Building template: $(TEMPLATE_NAME)"
|
|
||||||
./build_template_rpm $(TEMPLATE_NAME)
|
./build_template_rpm $(TEMPLATE_NAME)
|
||||||
|
|
||||||
|
rpms: prepare rootimg-build package
|
||||||
./create_template_list.sh || :
|
./create_template_list.sh || :
|
||||||
|
|
||||||
rootimg-build:
|
rootimg-build:
|
||||||
|
Loading…
Reference in New Issue
Block a user