Browse Source

make vendor specific info more customizeable

Waldemar Brodkorb 6 years ago
parent
commit
d7631bfb9f
4 changed files with 12 additions and 8 deletions
  1. 0 6
      Config.in
  2. 1 1
      package/perl/Makefile
  3. 10 0
      target/config/Config.in.adk
  4. 1 1
      toolchain/gcc/Makefile

+ 0 - 6
Config.in

@@ -78,12 +78,6 @@ endmenu
 menu "Toolchain settings"
 	visible if !ADK_TARGET_CHOOSE_ARCH
 
-config ADK_VENDOR
-	string "Vendor name"
-	default "openadk"
-	help
-	  Vendor string is used for toolchain.
-
 source "target/config/Config.in.archopts"
 source "target/config/Config.in.fpu"
 source "target/config/Config.in.float"

+ 1 - 1
package/perl/Makefile

@@ -33,7 +33,7 @@ CONFIGURE_ARGS:=	--target=$(GNU_TARGET_NAME) \
 			-Dccflags="$(TARGET_CFLAGS)" \
 			-Dldflags="$(TARGET_LDFLAGS) -lm" \
 			-Dmydomain="" \
-			-Dmyuname="OpenADK" \
+			-Dmyuname="$(ADK_VENDOR)" \
 			-Dosname=linux \
 			-Dosvers=4.0 \
 			-Dperladmin=root

+ 10 - 0
target/config/Config.in.adk

@@ -3,6 +3,16 @@
 
 menu "Global settings"
 
+config ADK_VENDOR
+	string "Vendor name"
+	default "openadk"
+	help
+	  Vendor string is used for toolchain and other packages.
+
+config ADK_VENDOR_URL
+	string "Vendor url"
+	default "https://openadk.org"
+
 config ADK_HOST
 	string "webserver for packages and distfiles"
 	default "openadk.org"

+ 1 - 1
toolchain/gcc/Makefile

@@ -27,7 +27,7 @@ TARGET_CXXFLAGS:=	$(filter-out -static,$(TARGET_CXXFLAGS))
 endif
 
 GCC_CONFOPTS:=		--prefix=$(TOOLCHAIN_DIR)/usr \
-			--with-bugurl="https://openadk.org/" \
+			--with-bugurl="$(ADK_VENDOR_URL)" \
 			--build=$(GNU_HOST_NAME) \
 			--host=$(GNU_HOST_NAME) \
 			--target=$(GNU_TARGET_NAME) \