Follow up to hrev45127

* check whether HAIKU_STRIP variable is set
* use AddVariableToScript instead of AddTargetVariableToScript
  since $(HAIKU_STRIP) isn't a jam target.
This commit is contained in:
Jerome Duval
2013-01-19 16:12:20 +01:00
parent d5ef3d86d1
commit 058f84c3e1
4 changed files with 8 additions and 3 deletions
+5
View File
@@ -300,6 +300,11 @@ switch $(HAIKU_CPU) {
Exit "Currently unsupported target CPU:" $(HAIKU_CPU) ;
}
# strip is required
if ! $(HAIKU_STRIP) {
Exit "HAIKU_STRIP not set. Please re-run configure." ;
}
# Include embedded board-specific file.
if $(HAIKU_BOOT_BOARD) {
include [ FDirName $(HAIKU_BUILD_RULES_DIR) board $(HAIKU_BOOT_BOARD)