Improve bootstrap build
authorMathieu <mbaudier@argeo.org>
Fri, 10 Mar 2023 11:00:57 +0000 (12:00 +0100)
committerMathieu <mbaudier@argeo.org>
Fri, 10 Mar 2023 11:00:57 +0000 (12:00 +0100)
bootstrap/Makefile
bootstrap/branch.mk [deleted file]
bootstrap/org.argeo.tp.build/biz.aQute.bndlib/bnd.bnd
bootstrap/sdk/branches/unstable.bnd [deleted file]
sdk/argeo-build

index 8f987c56d8cec2bf443cad3af282a1c68d9906fc..99b2d02dd6a340b23bd2ed12c469625e04d0e280 100644 (file)
@@ -9,6 +9,7 @@ OSGI_ANNOTATION_VERSION=7.0.0
 SLF4J_VERSION=1.7.36
 
 ORIGIN_BASE=$(HOME)/.cache/argeo/build/origin
+SDK_BUILD_BASE ?= ./output
 BOOTSTRAP_BASE=$(SDK_BUILD_BASE)/bootstrap
 
 ECJ_BASE=./ecj
@@ -49,6 +50,10 @@ clean:
        find $(BNDLIB_BASE) -name "*.class" -type f -exec rm -f {} \;
        make -C org.argeo.tp.build clean
 
+distclean:
+       rm -f sdk.mk
+       rm -rf ./output
+
 clean-sources:
        $(RM) -rf $(ECJ_BASE)
        $(RM) -rf $(BNDLIB_BASE)
@@ -112,6 +117,9 @@ bootstrap-prepare-sources: bootstrap-download-sources
 
        mkdir -p org.argeo.tp.build/biz.aQute.bndlib/src
        cp -r ../rebuild/org.argeo.tp/org.argeo.ext.slf4j/src/* org.argeo.tp.build/biz.aQute.bndlib/src
+       
+       # make sure directory is clean
+       $(RM) -rf ./output
 
 bootstrap-download-sources: $(SOURCE_ARCHIVES)
 
diff --git a/bootstrap/branch.mk b/bootstrap/branch.mk
deleted file mode 100644 (file)
index afde0f8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-BRANCH=unstable
\ No newline at end of file
index f8284c161550a7b2d600d67468742c806606eaf9..d12bab7aa250c056f2e35877325f94a08adc514d 100644 (file)
@@ -4,4 +4,4 @@ micro: 0
 qualifier:
 
 Bundle-License: EPL-2.0
-Export-Package: aQute.*
\ No newline at end of file
+Export-Package: biz.aQute.*
\ No newline at end of file
diff --git a/bootstrap/sdk/branches/unstable.bnd b/bootstrap/sdk/branches/unstable.bnd
deleted file mode 100644 (file)
index e69de29..0000000
index 2fcc5942da8416113ccda360f3b568991acf567e..d99c3c1e21b923f9a52fad75dd1e163c8dc553d1 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 2fcc5942da8416113ccda360f3b568991acf567e
+Subproject commit d99c3c1e21b923f9a52fad75dd1e163c8dc553d1