aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/ptgen.c
Commit message (Expand)AuthorAgeFilesLines
* firmware-tools/ptgen: Allow generation 0 size partitionsLinus Walleij2019-02-201-2/+9
* firmware-tools/ptgen: use portable exit codesMichael Heimpold2018-01-021-3/+3
* firmware-tools/ptgen: fix minor coding style issuesMichael Heimpold2018-01-021-26/+34
* ptgen: work around gcc miscompilationJonas Gorski2016-09-261-1/+3
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-071-1/+1
* firmware-tools/ptgen: use stdint types for struct pteFelix Fietkau2015-06-141-7/+8
* firmware-tools/ptgen: fix endianness conversion for PTE .start, .length field.Felix Fietkau2015-06-141-4/+4
* firmware-utils: allow passing a specific MBR signature to ptgenJo-Philipp Wich2014-10-161-4/+15
* tools/firmware-utils/ptgen option to use MB roundingJohn Crispin2012-08-221-4/+18
* firmware-utils: when using open with O_CREAT and O_WRONLY, also use O_TRUNC t...Felix Fietkau2008-09-231-1/+1
* fix x86 boot filesystem allocation (#1736)Felix Fietkau2007-05-231-1/+1
* make ptgen print the end offset of the last partition as wellFelix Fietkau2007-02-251-0/+1
* fix cylinder rounding in ptgenFelix Fietkau2007-02-241-1/+1
* remove custom partition table hack, add ptgen utility for generating partitio...Felix Fietkau2006-12-071-0/+219
.highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# 
# Copyright (C) 2006-2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk

PKG_NAME:=pkg-config
PKG_VERSION:=0.29.2

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://pkgconfig.freedesktop.org/releases/
PKG_HASH:=6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591

HOST_BUILD_PARALLEL:=1

include $(INCLUDE_DIR)/host-build.mk

unexport PKG_CONFIG

HOST_CONFIGURE_ARGS += --with-internal-glib

ifeq ($(HOST_OS),Darwin)
HOST_LDFLAGS += -framework CoreFoundation -framework Carbon
endif

define Host/Install
	$(MAKE) -C $(HOST_BUILD_DIR) install
	mv $(STAGING_DIR_HOST)/bin/pkg-config $(STAGING_DIR_HOST)/bin/pkg-config.real
	$(INSTALL_BIN) ./files/pkg-config $(STAGING_DIR_HOST)/bin/pkg-config
endef

define Host/Clean
	-$(MAKE) -C $(HOST_BUILD_DIR) uninstall
	$(call Host/Clean/Default)
endef

$(eval $(call HostBuild))