summaryrefslogtreecommitdiff
path: root/package/u-boot-h8300/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-09-17 12:24:34 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-09-17 12:24:34 +0200
commit95444b27abfb723db6c66c08dc6c12c7e1128e2e (patch)
treec9acdec9f7f8cb7e22caad371c77834c389655c0 /package/u-boot-h8300/Makefile
parent79d5a4a7dc9648e2d55407ca11daa9a4342abe72 (diff)
remove -fhonour-copts usage
This reuires a external gcc patch, which I no longer add to newer gcc. A lot of packages already need to disable the usage of -fhonour-copts, because it doesn't work without patching. May be we need something like Buildroot is using, a gcc wrapper to see poisened include or library paths while cross-compiling.
Diffstat (limited to 'package/u-boot-h8300/Makefile')
-rw-r--r--package/u-boot-h8300/Makefile66
1 files changed, 0 insertions, 66 deletions
diff --git a/package/u-boot-h8300/Makefile b/package/u-boot-h8300/Makefile
deleted file mode 100644
index e26b4fd59..000000000
--- a/package/u-boot-h8300/Makefile
+++ /dev/null
@@ -1,66 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-include $(ADK_TOPDIR)/rules.mk
-
-PKG_NAME:= u-boot
-PKG_VERSION:= h8300
-PKG_GIT:= branch
-PKG_RELEASE:= 1
-PKG_DESCR:= portable bootloader
-PKG_SECTION:= base/boot
-HOST_BUILDDEP:= libressl-host dtc-host
-PKG_BUILDDEP:= u-boot-h8300-host
-PKG_SITES:= git://git.pf.osdn.jp/gitroot/y/ys/ysato/uboot.git
-
-
-PKG_SYSTEM_DEPENDS:= hitachi-edosk2674
-
-include $(ADK_TOPDIR)/mk/host.mk
-include $(ADK_TOPDIR)/mk/package.mk
-
-$(eval $(call HOST_template,U_BOOT,u-boot,$(PKG_VERSION)-$(PKG_RELEASE)))
-$(eval $(call PKG_template,U_BOOT,u-boot,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
-
-UBOOT:= u-boot.bin
-CONFIG:= clearfog_defconfig
-
-HOST_MAKE_FLAGS+= HOSTCFLAGS="$(HOST_CPPFLAGS) $(HOST_CFLAGS)" \
- HOSTLDFLAGS="$(HOST_LDFLAGS) -ldl"
-HOST_STYLE:= manual
-CONFIG_STYLE:= manual
-BUILD_STYLE:= manual
-INSTALL_STYLE:= manual
-
-host-build:
- (cd $(WRKBUILD) && env $(HOST_MAKE_ENV) $(MAKE) -f $(MAKE_FILE) \
- $(HOST_MAKE_FLAGS) sandbox_defconfig )
- (cd $(WRKBUILD) && env $(HOST_MAKE_ENV) $(MAKE) -f $(MAKE_FILE) \
- $(HOST_MAKE_FLAGS) tools $(MAKE_TRACE) )
-
-u-boot-hostinstall:
- $(INSTALL_BIN) $(WRKBUILD)/tools/mk{,env}image \
- $(STAGING_HOST_DIR)/usr/bin
-
-do-configure:
- (cd $(WRKBUILD) && $(MAKE) $(CONFIG))
-
-do-build:
- (cd $(WRKBUILD) && env \
- PATH='$(HOST_PATH)' \
- CROSS_COMPILE='$(TARGET_CROSS)' \
- GCC_HONOUR_COPTS=s $(MAKE))
-ifneq ($(OS_FOR_BUILD),Darwin)
- (cd $(WRKBUILD) && env \
- PATH='$(HOST_PATH)' \
- CROSS_COMPILE='$(TARGET_CROSS)' \
- GCC_HONOUR_COPTS=s $(MAKE) env)
-endif
-
-u-boot-install:
- $(CP) $(WRKBUILD)/$(UBOOT) $(FW_DIR)
- $(INSTALL_DIR) $(IDIR_U_BOOT)/etc
- $(CP) ./files/fw_env.config $(IDIR_U_BOOT)/etc
-
-include $(ADK_TOPDIR)/mk/host-bottom.mk
-include $(ADK_TOPDIR)/mk/pkg-bottom.mk