projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: remove sgid permission from tar
[openwrt/openwrt.git]
/
include
/
image.mk
diff --git
a/include/image.mk
b/include/image.mk
index 5268f0bdb7850508dcfa88a39dd54fba4fc28209..5b022195589d37e806798e729c2babfa056123de 100644
(file)
--- a/
include/image.mk
+++ b/
include/image.mk
@@
-154,10
+154,10
@@
endif
# Disable noisy checks by default as in upstream
# 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
DTC_FLAGS += -Wno-unit_address_vs_reg
endif
-ifeq ($(strip $(call kernel_patchver_ge,4.1
1
.0)),1)
+ifeq ($(strip $(call kernel_patchver_ge,4.1
2
.0)),1)
DTC_FLAGS += \
-Wno-unit_address_vs_reg \
-Wno-simple_bus_reg \
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
-Wno-pci_device_bus_num \
-Wno-pci_device_reg
endif
-ifeq ($(strip $(call kernel_patchver_ge,4.1
6
.0)),1)
+ifeq ($(strip $(call kernel_patchver_ge,4.1
7
.0)),1)
DTC_FLAGS += \
-Wno-avoid_unnecessary_addr_size \
-Wno-alias_paths
endif
DTC_FLAGS += \
-Wno-avoid_unnecessary_addr_size \
-Wno-alias_paths
endif
-ifeq ($(strip $(call kernel_patchver_ge,4.1
7
.0)),1)
+ifeq ($(strip $(call kernel_patchver_ge,4.1
8
.0)),1)
DTC_FLAGS += \
-Wno-graph_child_address \
-Wno-graph_port \
DTC_FLAGS += \
-Wno-graph_child_address \
-Wno-graph_port \
@@
-291,7
+291,7
@@
endef
ifdef CONFIG_TARGET_ROOTFS_TARGZ
define Image/Build/targz
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
$(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
@@
-557,6
+557,8
@@
define Device/DumpInfo
Target-Profile: DEVICE_$(1)
Target-Profile-Name: $(DEVICE_TITLE)
Target-Profile-Packages: $(DEVICE_PACKAGES)
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)
@@
Target-Profile-Description:
$(DEVICE_DESCRIPTION)
@@