X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fdedeckeh.git;a=blobdiff_plain;f=include%2Fimage.mk;h=5b022195589d37e806798e729c2babfa056123de;hp=5d93a42c6283322d3645f16c4980ffa16e537afe;hb=8252511dc0b5a71e9e64b96f233a27ad73e28b7f;hpb=0dc48905cb1a11025cf3e362dc9940d92a8d8855 diff --git a/include/image.mk b/include/image.mk index 5d93a42c62..5b02219558 100644 --- a/include/image.mk +++ b/include/image.mk @@ -154,10 +154,10 @@ endif # Disable noisy checks by default as in upstream -ifeq ($(strip $(call kernel_patchver_ge,4.6.0)),1) +ifeq ($(strip $(call kernel_patchver_ge,4.7.0)),1) DTC_FLAGS += -Wno-unit_address_vs_reg endif -ifeq ($(strip $(call kernel_patchver_ge,4.11.0)),1) +ifeq ($(strip $(call kernel_patchver_ge,4.12.0)),1) DTC_FLAGS += \ -Wno-unit_address_vs_reg \ -Wno-simple_bus_reg \ @@ -166,12 +166,12 @@ ifeq ($(strip $(call kernel_patchver_ge,4.11.0)),1) -Wno-pci_device_bus_num \ -Wno-pci_device_reg endif -ifeq ($(strip $(call kernel_patchver_ge,4.16.0)),1) +ifeq ($(strip $(call kernel_patchver_ge,4.17.0)),1) DTC_FLAGS += \ -Wno-avoid_unnecessary_addr_size \ -Wno-alias_paths endif -ifeq ($(strip $(call kernel_patchver_ge,4.17.0)),1) +ifeq ($(strip $(call kernel_patchver_ge,4.18.0)),1) DTC_FLAGS += \ -Wno-graph_child_address \ -Wno-graph_port \ @@ -229,8 +229,7 @@ define Image/mkfs/squashfs $(STAGING_DIR_HOST)/bin/mksquashfs4 $(call mkfs_target_dir,$(1)) $@ \ -nopad -noappend -root-owned \ -comp $(SQUASHFSCOMP) $(SQUASHFSOPT) \ - -processors 1 \ - $(if $(SOURCE_DATE_EPOCH),-fixed-time $(SOURCE_DATE_EPOCH)) + -processors 1 endef # $(1): board name @@ -292,7 +291,7 @@ endef ifdef CONFIG_TARGET_ROOTFS_TARGZ define Image/Build/targz - $(TAR) -cp --numeric-owner --owner=0 --group=0 --sort=name \ + $(TAR) -cp --numeric-owner --owner=0 --group=0 --mode=a-s --sort=name \ $(if $(SOURCE_DATE_EPOCH),--mtime="@$(SOURCE_DATE_EPOCH)") \ -C $(TARGET_DIR)/ . | gzip -9n > $(BIN_DIR)/$(IMG_PREFIX)$(if $(PROFILE_SANITIZED),-$(PROFILE_SANITIZED))-rootfs.tar.gz endef @@ -558,6 +557,8 @@ define Device/DumpInfo Target-Profile: DEVICE_$(1) Target-Profile-Name: $(DEVICE_TITLE) Target-Profile-Packages: $(DEVICE_PACKAGES) +Target-Profile-hasImageMetadata: $(if $(foreach image,$(IMAGES),$(findstring append-metadata,$(IMAGE/$(image)))),1,0) +Target-Profile-SupportedDevices: $(SUPPORTED_DEVICES) Target-Profile-Description: $(DEVICE_DESCRIPTION) @@ @@ -607,7 +608,7 @@ define BuildImage $(call Image/Prepare) legacy-images-prepare-make: image_prepare - $(MAKE) legacy-images-prepare + $(MAKE) legacy-images-prepare BIN_DIR="$(BIN_DIR)" else image_prepare: @@ -631,7 +632,7 @@ define BuildImage legacy-images-make: install-images $(call Image/mkfs/ubifs/legacy) - $(MAKE) legacy-images + $(MAKE) legacy-images BIN_DIR="$(BIN_DIR)" install: install-images $(call Image/Manifest)