Browse Source

dsl-vrx200-firmware-xdsl: fix PKG_VERSION for APK

The version was a mix of strings, hex numbers and semantic numbers.

Switch the PKG_VERSION to something digestible by APK and introduce
PKG_SOURCE_VERSION to handle the actual filename.

While at it, drop the redundant PKG_B_NAME which was the same as
PKG_NAME anyway.

Signed-off-by: Paul Spooren <[email protected]>
Paul Spooren 1 year ago
parent
commit
81ed181a51
1 changed files with 7 additions and 5 deletions
  1. 7 5
      package/firmware/lantiq/dsl-vrx200-firmware-xdsl/Makefile

+ 7 - 5
package/firmware/lantiq/dsl-vrx200-firmware-xdsl/Makefile

@@ -7,9 +7,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=dsl_vr9_firmware_xdsl
-PKG_VERSION:=05.08.01.08.01.06_05.08.00.0B.01.01_osc
+PKG_VERSION:=05.08.01.08.01.06.05.08.00.11.01.01
+PKG_SOURCE_VERSION:=05.08.01.08.01.06_05.08.00.0B.01.01_osc
 PKG_RELEASE:=1
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
 PKG_SOURCE_URL:=@OPENWRT
 PKG_HASH:=44cd94130571fe42dfa8f0f9d44597d104e9e77962617fe38646b7a0b4184a2b
 PKG_BUILD_DEPENDS:=bsdiff/host
@@ -18,9 +20,9 @@ PKG_FLAGS:=nonshared
 
 include $(INCLUDE_DIR)/package.mk
 
-PKG_B_NAME:=dsl_vr9_firmware_xdsl
-PKG_B_VERSION:=05.07.09.09.00.06_05.07.04.04.00.02_osc
-PKG_B_SOURCE:=$(PKG_B_NAME)-$(PKG_B_VERSION).tar.gz
+PKG_B_VERSION:=05.07.09.09.00.06.05.07.04.04.00.02
+PKG_B_SOURCE_VERSION:=05.07.09.09.00.06_05.07.04.04.00.02_osc
+PKG_B_SOURCE:=$(PKG_NAME)-$(PKG_B_SOURCE_VERSION).tar.gz
 
 ANNEX_A_VER:=581816_580B11
 ANNEX_B_VER:=579906_574402