build_system: add package tools [1/1]
PD#SWPL-72285
Problem:
add package tools.
Solution:
add package tools.
Verify:
ad409_a113l
Signed-off-by: shijie.xiong <shijie.xiong@amlogic.com>
Change-Id: I0903aabefad62729901cc7206334bb53999cb82c
diff --git a/Makefile b/Makefile
index 8331920..adb2d29 100755
--- a/Makefile
+++ b/Makefile
@@ -296,6 +296,14 @@
make -f $(build_DIR)/symtable.mk clean
endif
+.PHONY: package
+package:
+ @ if [ -z $(backtrace) ]; then \
+ (./scripts/package.sh) \
+ else \
+ (./scripts/package.sh backtrace) \
+ fi
+
.PHONY: release
release:
@ if [ -f $(PRJDIR)/CMakeLists.txt ] && [ -f $(PRJDIR)/Kconfig ] && [ -f $(kernel_BUILD_DIR)/sdk_ver.h ]; then \