aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-06-17 20:22:58 +0200
committerFelix Fietkau <nbd@nbd.name>2016-06-17 20:23:11 +0200
commit982108f7e5da6c79c70c035e26ac3bdf47a8e487 (patch)
tree5ee869b6c443c02d7ff5c31fd7cdd14234a6b1ee /target/linux
parentf4c59a204ef69c3e6234545c2910f0c665149453 (diff)
downloadupstream-982108f7e5da6c79c70c035e26ac3bdf47a8e487.tar.gz
upstream-982108f7e5da6c79c70c035e26ac3bdf47a8e487.tar.bz2
upstream-982108f7e5da6c79c70c035e26ac3bdf47a8e487.zip
lantiq: clean up / fix LegacyDevice template handling
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/lantiq/image/Makefile22
1 files changed, 7 insertions, 15 deletions
diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile
index e53fdd861e..d9424f8941 100644
--- a/target/linux/lantiq/image/Makefile
+++ b/target/linux/lantiq/image/Makefile
@@ -204,7 +204,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
endef
endif
-define Image/Prepare/Kernel
+define Image/Prepare/Template
$(call PatchKernelLzma,$(1))
$(call Image/BuildLoader/Template,$(1))
$(Image/Prepare/InitramfsTemplate)
@@ -710,6 +710,7 @@ define LegacyDevice/FRITZ7360SL
endef
LEGACY_DEVICES += FRITZ7360L
+Image/Prepare/Profile/VG3503J=$(call Image/Prepare/Template,VG3503J)
Image/BuildKernel/Profile/VG3503J=$(call Image/BuildKernelLoader/Template,VG3503J)
Image/Build/Profile/VG3503J=$(call Image/BuildLoader/$(1),$(1),VG3503J)
@@ -768,27 +769,18 @@ define Device/VGV7519BRN
endef
TARGET_DEVICES += VGV7519BRN
-define Image/Prepare
- $(call Image/Prepare/Kernel,VG3503J)
-endef
-
endif
define Image/Prepare/Profile
- $(call Image/Build/Profile/$(1),loader)
-endef
-
-define Image/Build/Profile
- $(call Image/Build/Profile/$(1),buildkernel)
- $(call Image/Build/Profile/$(1),$(2))
+ $(call Image/Prepare/Profile/$(1))
endef
-define Image/BuildKernel
- $(call Image/BuildKernel/Profile/$(PROFILE))
+define Image/BuildKernel/Profile
+ $(call Image/BuildKernel/Profile/$(1))
endef
-define Image/Build
- $(call Image/Build/Profile/$(PROFILE),$(1))
+define Image/Build/Profile
+ $(call Image/Build/Profile/$(1),$(2))
endef
$(eval $(call BuildImage))